12.06.2009, 18:30
Quote:
Originally Posted by ziomal396
I think that the command should look like this:
Код:
if (strcmp(cmd, "/roadblock", true) == 0) { new Float:x, 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; } |