Player/SprayDecal

From Garry's Mod
Jump to: navigation, search
 Player:SprayDecal( )

Contents

Description

Makes a player spray their decal.

Arguments

Vector sprayOrigin

The location to spray from

Arguments

Vector sprayEndPos

The location to spray to

Examples

Example

Makes the player spray their decal 5000 units away.

ply:SprayDecal(ply:EyePos(),ply:EyePos() + ply:GetAimVector()*5000)


Personal tools
Navigation