21.04.2011, 10:30
Quote:
Thank you for your support... Do you have another ideas for my second problem?
![]() |
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!");
}