01.11.2009, 16:16
Hello, i am currently trying to create a /spawnvehicle id command that spawns a vehicle with the id of your choice at your current location.
I have tryed to create it myself already, but i do not get any farther than this, because its giving me some errors:
I have tryed to create it myself already, but i do not get any farther than this, because its giving me some errors:
Код:
if(strcmp(cmd, "/spawnvehicle", true) == 0) { GetPlayerPos(playerid, x, y, z); AddStaticVehicle(vehicleid, x+random(5), y+random(5), z+random(5), 12, 0, 0); } return 1; }