#10

pawn Код:
CMD:getinveh[playerid,params[]){
    new id;
    if(sscanf(params, "u", id)) return SendClientMessage(playerid, -1, "Usage: /drag [ID]");
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Error: You must be in car to use this command!");
    if(IsPlayerInAnyVehicle(id)) return SendClientMessage(playerid, -1, "Error: This player is in car, You can't use this command!");
    PutPlayerInVehicle(id, GetPlayerVehicleID(playerid), 1);
    return 1;
}
Reply


Messages In This Thread
help - by ZToPMaN - 03.03.2016, 14:38
Re: help - by ZToPMaN - 03.03.2016, 18:30
Re: help - by rambalili2 - 03.03.2016, 18:50
Re: help - by Richie© - 03.03.2016, 19:13
Re: help - by ZToPMaN - 03.03.2016, 22:16
Re: help - by ZToPMaN - 04.03.2016, 10:09
Re: help - by ZToPMaN - 04.03.2016, 12:47
Re: help - by ZToPMaN - 04.03.2016, 15:58
Re: help - by ZToPMaN - 04.03.2016, 23:51
Re: help - by Kar - 05.03.2016, 00:37

Forum Jump:


Users browsing this thread: 1 Guest(s)