Help with a command.
#5

pawn Код:
if(dialogid == 0) {
        if(response) {
            new Float:x,Float:y,Float:z,Float:ang;
            SetVehicleNumberPlate(GetPlayerVehicleID(playerid), inputtext);
        } else {
            SendClientMessage(playerid,0xFFFFFFFF,"You cancelled!"); } }
    return 1; }
use this.

Instead of
pawn Код:
if(dialogid == 0) {
        if(response) {
            new Float:x,Float:y,Float:z,Float:ang;
            SetVehicleNumberPlate(GetPlayerVehicleID(playerid), inputtext);
            GetVehiclePos(GetPlayerVehicleID(playerid),x,y,z);
            GetVehicleZAngle(GetPlayerVehicleID(playerid),ang);
            SetVehicleToRespawn(GetPlayerVehicleID(playerid));
            SetVehiclePos(GetPlayerVehicleID(playerid),x,y,z);
            PutPlayerInVehicle(playerid,GetPlayerVehicleID(playerid),0);
            SetVehicleZAngle(GetPlayerVehicleID(playerid),ang);
        } else {
            SendClientMessage(playerid,0xFFFFFFFF,"You cancelled!"); } }
    return 1; }
Reply


Messages In This Thread
Help with a command. - by sniperwars - 12.03.2012, 17:19
Re: Help with a command. - by Faisal_khan - 12.03.2012, 17:37
Re: Help with a command. - by Faisal_khan - 12.03.2012, 17:49
Re: Help with a command. - by sniperwars - 12.03.2012, 17:59
Re: Help with a command. - by Faisal_khan - 12.03.2012, 18:18
Re: Help with a command. - by sniperwars - 12.03.2012, 18:49

Forum Jump:


Users browsing this thread: 3 Guest(s)