30.06.2009, 09:26
pawn Код:
if(strcmp(cmdtext, "/bike", true) == 0)
{
new Float:x, Float:y, Float:z, Float:a;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, a);
CreateVehicle(481, x, y, z+5, a, 1, 1, 10000);
SendClientMessage(playerid, color, "BMX spawned!");
return 1;
}