about LoadFilterscript()
#2

firstly, LoadFilterscript is when a filterscript is loaded (scripted in a gamemode), but OnFilterScriptInit is used the filterscript is loaded (scripted in a filterscript), But I recommend to use OnFilterScriptInit (on a filterscript).

secondly, do you mean under OnGameModeInit? If so, then here:

pawn Код:
public OnGameModeInit()
{
        LoadDealerships();
    LoadDealershipCars();
   
    for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { LoadPlayerVehicleData(i); } }
    return 1;
}
Reply


Messages In This Thread
about LoadFilterscript() - by PowerF - 02.07.2015, 00:23
Re: about LoadFilterscript() - by Youssef221 - 02.07.2015, 00:42
Re: about LoadFilterscript() - by Onfroi - 02.07.2015, 01:33

Forum Jump:


Users browsing this thread: 1 Guest(s)