Please help!
#2

easy as pie

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


Messages In This Thread
Please help! - by makogemata - 11.11.2009, 18:33
Re: Please help! - by LarzI - 11.11.2009, 20:16
Re: Please help! - by makogemata - 11.11.2009, 21:10
Re: Please help! - by retart441 - 11.11.2009, 22:00
Re: Please help! - by LarzI - 12.11.2009, 00:03
Re: Please help! - by Peter_Corneile - 12.11.2009, 08:33

Forum Jump:


Users browsing this thread: 1 Guest(s)