11.11.2009, 20:16
easy as pie
add this on top of script
Then change this line:
to this
Then make the new command:
add this on top of script
pawn Код:
new PlayersVehicle[MAX_PLAYERS];
pawn Код:
new PlayersVehicle = CreateVehicle(vehicle, x, y, z, a+90, -1, -1, -1);
pawn Код:
PlayersVehicle[playerid] = CreateVehicle(vehicle, x, y, z, a+90, -1, -1, -1);
pawn Код:
if(!strcmp(cmdtext, "/addel", true))
{
if(PlayersVehicle[playerid] != 0)
DestroyVehicle(PlayersVehicle[playerid]);
return true;
}