12.03.2012, 18:18
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; }
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; }