SA-MP Forums Archive
error with register function - 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: error with register function (/showthread.php?tid=82282)



error with register function - Domenic_Montery - 17.06.2009

C:\Users\Semir\Desktop\samp02Xserver.win32\gamemod es\ModernLife2.pwn(1725) : error 017: undefined symbol "OnPlayerRegister"

i got this error and when i write
new OnPlayerRegister[MAX_PLAYERS]

i got even more errors


Re: error with register function - WardenCS - 17.06.2009

try OnPlayerRegister[MAX_PLAYERS];


Re: error with register function - The_Tough - 17.06.2009

What are you using for the "OnPlayerRegister[MAX_PLAYERS];?

on the top of the pawno write #define <name of the include>


Re: error with register function - Correlli - 17.06.2009

I don't think OnPlayerRegister is a variable, i think that is a function.


Re: error with register function - AiVAMAN - 17.06.2009

I think there is function like this in V-Admin..