Jump to content

Cerere system DMV


Recommended Posts

Iti dau cateva idei:


Fa o variabila pCarLic, sau pCar

new dmvcar[nr de masini];


dmvcar[0] = AddStaticVehicle(id masina , x , y , z, unghi, culoare 1, culoare2);



Si dupa pui racepoints, iar daca un jucator este in dmvcar sa ii puna un racepoint, cand intra in acel pct. sa-i puna altul si tot asa.

Cand a intrat in toate sa ii scrie ca a terminat testul si sa ii dea lic : playerVariables[playerid][pCarLic] = 100;


Si mai faci o chestie:


if(playerVariables[playerid][pCarLic] == 0 && IsInAnyVehicle(playerid));



    SendClientMessagoe(playerid, COLOR_YELLOW, " You don't have car licence!");


Ti-am dat un exemplu cum sa faci, nu este complet, mai trebuie sa faci tu, dar nu vreau sa-ti dau "mura-n gura", trebuie sa mai si gandesti cateodata. Poti sa te inspiri de pe internet sau din alte GM.

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use. 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.