- 0
Vehicle Numer Name
-
Similar Content
-
- 12 replies
- 2,675 views
-
- 2 answers
- 357 views
-
- 6 replies
- 614 views
-
- 10 replies
- 1,002 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Deejaybwg
Am comanda /vother pe server, cu care pot opri/porni motorul vehiculului, aprind/sting farurile, schimb numarul de inamtriculare al vehiculului, etc..
Cand setez numarul de inmatriculare, dau enter, se schimba numarul, si dupa 2-3 secunde imi dispare vehiculul.
Cum pot rezolva problema asta ?
Si pe langa schimbarea nr. de inmatriculare de la /vother, mai am si o comanda pentru asta:
[pawn] if (strcmp("/vname", cmdtext, true, 10) == 0) {
new Float:x,Float:y,Float:z,Float:ang;
GetVehiclePos(GetPlayerVehicleID(playerid),x,y,z);
GetVehicleZAngle(GetPlayerVehicleID(playerid),ang);
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xFFFFFFFF,"You're not in a vehicle!");
ShowPlayerDialog(playerid,0,DIALOG_STYLE_INPUT,"{EE7777}Vehicle Numberplate","{00CC66}Input your new vehicle numberplate below.","Yes","Cancel");
return 1; }[/pawn]
www.youtube.com/thebwgg
Link to comment
Share on other sites
9 answers to this question
Recommended Posts