- 0
Probleme licente
-
Similar Content
-
- 1 answer
- 242 views
-
- 6 replies
- 466 views
-
- 4 replies
- 405 views
-
- 3 replies
- 319 views
-
Am o problema cu un special quest de iarna,sunt la inceput cu scripting-ul si am o problema,cand intru in raza de checkpoint nu se intampla absolut nimic,stie cineva de ce?
By cbnmihaita,
- 2 answers
- 393 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Shad0wdpbgd
Salut, am o problema la licente. Mereu cand intru intr-un avion sau barca, imi zice ca nu am licenta de driving, daca imi dau licenta de driving, merge sa conduc si masina, sa pilotez si avionu, si sa merg si cu barca. Stie cineva de ce?
COD: public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(!ispassenger)
{
if(!isBike(GetVehicleModel(vehicleid)) && PlayerInfo[playerid][pDrivingLic] == 0)
{
ClearAnimations(playerid);
return SCM(playerid, COLOR_GREY, "You need a driving license to use this vehicle.");
}
if(isBoat(GetVehicleModel(vehicleid)) && PlayerInfo[playerid][pBoatLic] == 0)
{
ClearAnimations(playerid);
return SCM(playerid, COLOR_GREY, "You need a boat license use this boat.");
}
if(isPlane(GetVehicleModel(vehicleid)) && PlayerInfo[playerid][pFlyLic] == 0)
{
ClearAnimations(playerid);
return SCM(playerid, COLOR_GREY, "You need a fly licenses to use this plane.");
}
}
return 1;
}
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.