Jump to content
  • 0

problema rentcar gm hpq123


Waller

Question

6 answers to this question

Recommended Posts

  • 0
Acum 3 ore, Waller a spus:

Buna seara, am inampinat o problema pe gm ul lui hpq123 am pus rent ul ca pe b-hood si cand dau rentveh si iau o masina te duce unde a fost spawn pe kround si cum pot schimba asta ?

Te uiti la coordonate, no?

Link to comment
Share on other sites

  • 0

YCMD:rentveh(playerid, params[], help) {
    new string[128];
    if(GetPlayerVirtualWorld(playerid) > 0) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda cand esti in virtual world!");
    if(PlayerInfo[playerid][pCarLic] < 1) return SCM(playerid, COLOR_LIGHTGREEN, "Eroare: Nu ai licenta de condus.");
    if(IsRentCar[playerid] != 0) return SCM(playerid, COLOR_WHITE, "Ai deja un vehicul inchiriat.");
    if(!PlayerToPoint(5, playerid, 2166.6006,1398.1543,10.8203)) return SCM(playerid, COLOR_WHITE, "Nu esti la Rent Car");
    format(string, sizeof(string), "Vehicle\tStock\nPremier\t%d\nSuper GT\t%d\nSultan\t%d\nComet\t%d\nSunrise\t%d\nNRG-500\t%d\nFaggio\t%d\nBMX\t%d", RentStock[0], RentStock[1], RentStock[2], RentStock[3], RentStock[4], RentStock[5], RentStock[6], RentStock[7]);
    ShowPlayerDialog(playerid, DIALOG_RENTCAR, DIALOG_STYLE_TABLIST_HEADERS, "SERVER: Rent Car", string, "Select", "Cancel");
    return true;
}       am modificat pozitiile la playertopoints si tot nu merge

Link to comment
Share on other sites

  • 0
Acum 3 minute, Waller a spus:

YCMD:rentveh(playerid, params[], help) {
    new string[128];
    if(GetPlayerVirtualWorld(playerid) > 0) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda cand esti in virtual world!");
    if(PlayerInfo[playerid][pCarLic] < 1) return SCM(playerid, COLOR_LIGHTGREEN, "Eroare: Nu ai licenta de condus.");
    if(IsRentCar[playerid] != 0) return SCM(playerid, COLOR_WHITE, "Ai deja un vehicul inchiriat.");
    if(!PlayerToPoint(5, playerid, 2166.6006,1398.1543,10.8203)) return SCM(playerid, COLOR_WHITE, "Nu esti la Rent Car");
    format(string, sizeof(string), "Vehicle\tStock\nPremier\t%d\nSuper GT\t%d\nSultan\t%d\nComet\t%d\nSunrise\t%d\nNRG-500\t%d\nFaggio\t%d\nBMX\t%d", RentStock[0], RentStock[1], RentStock[2], RentStock[3], RentStock[4], RentStock[5], RentStock[6], RentStock[7]);
    ShowPlayerDialog(playerid, DIALOG_RENTCAR, DIALOG_STYLE_TABLIST_HEADERS, "SERVER: Rent Car", string, "Select", "Cancel");
    return true;
}       am modificat pozitiile la playertopoints si tot nu merge

Daca sa folosesti comanda functioneaza la punctul acela si te duce dupa ce inchiriezi masina in alt loc modifica coordonatele in DIALOG_RENTCAR.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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.