12.06.2009, 18:32
Don Corelli, I haven't remember to define Float:a.
Quote:
if (strcmp(cmd, "/roadblock", true) == 0) { new Float, Float:y, Float:z, Float:a; GetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(playerid, a); CreateObject(981, x, y, z, 0, 0, a); SetPlayerPos(playerid, x, y, z + 20); return 1; } |