- 0
[GF/RP] Problema comanda /v plate
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Myh4yx
salut am si eu o problema la comanda /v plate la prima masina care o cumpar mg sa pun numar iar la masina a 2 a nu mere zice ceva de genu : You're not in a vehicle
[pawn] else if(strcmp(x_nr,"plate",true) == 0)
{
if(PlayerInfo[playerid][pPcarkey] == 999)
{
SCM(playerid, COLOR_GREY," You don't have a vehicle to respray.");
return 1;
}
if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey])
{
new Float:x,Float:y,Float:z,Float:ang;
GetVehiclePos(GetPlayerVehicleID(playerid),x,y,z);
GetVehicleZAngle(GetPlayerVehicleID(playerid),ang);
if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid,COLOR_RED,"You're not in a vehicle!");
ShowPlayerDialog(playerid,171,DIALOG_STYLE_INPUT,"{EE7777}Vehicle Numberplate","{00CC66}Input your new vehicle numberplate below.","Yes","Cancel");
return 1;
}
else
{
SCM(playerid, COLOR_GREY, " You are not in you're personal car!");
return 1;
}
}
else
{
SCM(playerid, COLOR_WHITE, "HINT: (/v)ehicle [name]");
SCM(playerid, COLOR_WHITE, "Available names: park, lock1,lock2, sell, sellto, color, tow1, tow2 locate1,locate2, plate");
return 1;
}
}
return 1;
}[/pawn]
Va rog ajutatima !!
3 answers to this question
Recommended Posts