04.10.2014, 11:33
First of all
Make something that checks if player has license
So if he has it says idk you choose if he doesn't have it says You don't got bla bla bla.. just return Senclientmessege etc..
Anyways try this not sure..
Make something that checks if player has license
So if he has it says idk you choose if he doesn't have it says You don't got bla bla bla.. just return Senclientmessege etc..
Anyways try this not sure..
PHP код:
if(!IsAPlane(GetVehicleModel(GetPlayerVehicleID(playerid))) && !IsABoat(GetVehicleModel(GetPlayerVehicleID(playerid))) && !VoziloJeBiciklo(GetVehicleModel(GetPlayerVehicleID(playerid))))
{
if(PlayerInfo[playerid][DriverLicense] == 1) SendClientMessage(playerid,COLOR_LIGHTRED,"You don't have a driver license? Be careful and watch out for police!");
Speedo(playerid,1);
new string[128];
format(string,sizeof string,"%.1fl",Fuel[GetPlayerVehicleID(playerid)]);
TextDrawSetString(Speedometar0[playerid],string);
return 1;
}