Jump to content
  • 0

problema rentcar gm hpq123


Question

Posted

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 ?

6 answers to this question

Recommended Posts

  • 0
Posted
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?

  • 0
Posted

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

  • 0
Posted
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.

  • 0
Posted

a si de ce acum cand dau rentveh selectez o masina se opreste server-ul wtf

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.