[SUGGESTION]Drive-By Hiding
#7

You could always do this:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/remove", cmdtext, true, 10) == 0)
    {
        SetPVarInt(playerid, "CurrentVehicle", GetPlayerVehicleID(playerid));
        SetPVarInt(playerid, "CurrentVehSeat", GetPlayerVehicleSeat(playerid));
        RemovePlayerFromVehicle(playerid);
        PutPlayerInVehicle(playerid, GetPVarInt(playerid, "CurrentVehicle"), GetPVarInt(playerid, "CurrentVehSeat"));
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
[SUGGESTION]Drive-By Hiding - by Riddick94 - 11.12.2010, 20:32
Re: [SUGGESTION]Drive-By Hiding - by case 1337: - 11.12.2010, 20:33
Re: [SUGGESTION]Drive-By Hiding - by Grim_ - 11.12.2010, 20:34
Re: [SUGGESTION]Drive-By Hiding - by [03]Garsino - 11.12.2010, 20:36
Re: [SUGGESTION]Drive-By Hiding - by Riddick94 - 11.12.2010, 20:37
Re: [SUGGESTION]Drive-By Hiding - by case 1337: - 11.12.2010, 20:40
Re: [SUGGESTION]Drive-By Hiding - by Scenario - 11.12.2010, 21:00
Re: [SUGGESTION]Drive-By Hiding - by Riddick94 - 11.12.2010, 21:07
Re: [SUGGESTION]Drive-By Hiding - by Sergei - 12.12.2010, 12:30
Re: [SUGGESTION]Drive-By Hiding - by CaHbKo - 12.12.2010, 13:28

Forum Jump:


Users browsing this thread: 1 Guest(s)