Garry's Mod Wiki

Player:SprayDecal

Player:SprayDecal( Vector sprayOrigin, Vector sprayEndPos )

Description

Makes a player spray their decal.

Arguments

1 Vector sprayOrigin
The location to spray from
2 Vector sprayEndPos
The location to spray to

Example

Makes the player spray their decal 5000 units away.

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

Page Links


Special Pages


Wikis

?

Render Time: 32ms

Session 0
DB GetPage 3
Generate Html 6
SaveChanges 8
Render Body 0
Render Sidebar 12