16.01.2010, 20:46
Quote:
Originally Posted by GTAguillaume
Quote:
Код:
new SpawnedVehicles[200]; //change 200 to the max spawned vehicles Код:
if (!strcmp("/turismo", cmd, true)) { for(new i;i<sizeof(SpawnedVehicles);i++) { if(SpawnedVehicles[i] == 0) { new Float:X,Float:Y,Float:Z,Float:ROT; GetPlayerPos(playerid,X,Y,Z); GetPlayerAngle(playerid,ROT); SpawnedVehicles[i] = CreateVehicle(451,X,Y,Z,ROT,1,1); SendClientMessage(playerid,0x00ff00AA,"You spawned succesfull a turismo!"); return 1; } return 1 } |