14.02.2014, 16:11
Well, Alright, I'll make it short and say it simple.
This is my code for respawning cars,
When I use this command, The NPC bot is removed from its vehicle, I want to respawn all the vehicles except the NPC's tram.
Hope someone would help me,
Thanks.
This is my code for respawning cars,
pawn Код:
dcmd_respawncars(playerid,params[])
{
#pragma unused params
#pragma unused playerid
for(new i = 1; i <= MAX_VEHICLES; i++)
{
SetVehicleToRespawn(i);
}
SendClientMessageToAll(0x00E800C8, "[ADMIN] Administrator has respawned all non-occupied vehicles");
return 1;
}
Hope someone would help me,
Thanks.