Need help :)
#5

Quote:

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
for(new i=1; i < MAX_VEHICLES; i++)
{
if(vehdata[i][carexists] == 0)
{
if(userdata[playerid][license] == 1) return 0;
}
else
{
if(userdata[playerid][license] == 0)
SetTimerEx("LicenseMSG",5000,0,"i",playerid);
}
}
return 1;
}


Fixed.


the problem was in here i guess... Take a look maybe you'll agree with me.

Quote:

}
GetPlayerName(playerid, playername, sizeof(playername));
if(userdata[playerid][usercodetype] == 7)
{
if(IsVehicleIsBike(vehicleid)) MyVeh[playerid] = vehicleid;
}
return 1;
}

Reply


Messages In This Thread
Need help :) - by SaMuRy - 29.09.2018, 18:23
Re: Need help :) - by CaptainBoi - 29.09.2018, 18:29
Re: Need help :) - by SaMuRy - 29.09.2018, 18:32
Re: Need help :) - by CaptainBoi - 29.09.2018, 18:34
Re: Need help :) - by SaMuRy - 29.09.2018, 19:01
Re: Need help :) - by CaptainBoi - 29.09.2018, 19:21

Forum Jump:


Users browsing this thread: 1 Guest(s)