09.11.2011, 03:16
pawn Код:
// this at top
new Float:Angle, string[26];
// try like this i don't know it will work or not
if (strcmp("/spray", cmdtext, true, 10) == 0)
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, Angle);
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance);