SA-MP Forums Archive
[quest] Main() - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [quest] Main() (/showthread.php?tid=301039)



[quest] Main() - Rapgangsta - 02.12.2011

Is called before

Main or OnGameModeInit ?


Re: [quest] Main() - Sinc - 02.12.2011

Main.


Re: [quest] Main() - MP2 - 02.12.2011

main() is called when the script is loaded.


Re: [quest] Main() - sleepysnowflake - 02.12.2011

What about testing ?
pawn Код:
main()
{
printf("MAIN INITIATED");
}

public OnGameModeInit()
{
        printf("ONGAMEMODEINIT INITIATED");
    return 1;
}



Re: [quest] Main() - MP2 - 02.12.2011

main() is called when the script is loaded.


Re: [quest] Main() - sleepysnowflake - 02.12.2011

Okay. You said that already. Now I also have the proof.