29.09.2018, 19:01
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; } |