- 0
Probleme licente
-
Similar Content
-
- 1 reply
- 51 views
-
Problema turf
By Soryn.,
- 2 answers
- 210 views
-
- 1 reply
- 167 views
-
Problema
By ImJustSlim,
- 3 answers
- 279 views
-
- 2 replies
- 152 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;
}
Link to comment
Share on other sites
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.