Respawn cars...
#4

Quote:
Originally Posted by Vvolk
Посмотреть сообщение
Thank you for your support... Do you have another ideas for my second problem?
Try something like:

pawn Код:
new WorkVehicle[10];//The number of work vehicles

WorkVehicle[0] = AddStaticVehicle(//whatever your wish);
WorkVehicle[1] = AddStaticVehicle(// whatever your wish);
WorkVehicle[2] = AddStaticVehicle(// whatever your wish);
//Ect...
//Use a loop here, then you can use:
if(vehicleid == WorkVehicle[i])
{
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid, red, "This is a work vehicle!");
}
Reply


Messages In This Thread
Respawn cars... - by Vvolk - 21.04.2011, 07:36
Re: Respawn cars... - by Daddy Yankee - 21.04.2011, 08:19
Re: Respawn cars... - by Vvolk - 21.04.2011, 10:06
Re: Respawn cars... - by Stigg - 21.04.2011, 10:30

Forum Jump:


Users browsing this thread: 1 Guest(s)