New to y_hooks - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: New to y_hooks (
/showthread.php?tid=275111)
New to y_hooks -
Rock_Ro - 08.08.2011
I was trying to hook OnGameModeInit using y_hooks and i can't figure out what i've been doing wrong.
pawn Код:
Hook:a_OnGameModeInit( )
{
print("\n------------------------------------");
print("[ R.S.F ] Loaded\n");
printf("Total Functions: %i\n", TotalFunctions);
print("\n------------------------------------");
return 1;
}
When gamemode loads(include too) it doesen't print that..
So..what's wrong ??