SA-MP Forums Archive
Problem with Xtreme Admin 2 - 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: Problem with Xtreme Admin 2 (/showthread.php?tid=235502)



Problem with Xtreme Admin 2 [Closed] - BurgessGaming - 05.03.2011

So i just installed XtremeAdmin 2, all went well i got no errors only this warning...

pawn Код:
C:\Users\Tyler Burgess\Documents\SA Servers\Own coded\filterscripts\XtremeAdmin2.pwn(1217) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

Header size:           2596 bytes
Code size:           157636 bytes
Data size:           209000 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5316 cells (21264 bytes)
Total requirements:  385616 bytes

1 Warning.
Line:
pawn Код:
public OnPlayerPrivmsg(playerid, recieverid, text[]) {
and when i test it out it goes straight into game and doesnt make people register, ask for password or save there file into the Scriptfiles folder.

please help !!


Re: Problem with Xtreme Admin 2 - Markx - 05.03.2011

OnPlayerPrivmsg isnt supported anymore.
Use Lux Admin 1.6, its the most amazing admin script ever!


Re: Problem with Xtreme Admin 2 - xRyder - 05.03.2011

Well, since 0.3x has been released, function OnPlayerPrivmsg() has been deleted so you can delete it too.

Or you can add forward OnPlayerPrivmsg(playerid, recieverid, text[]); ( don't know why would you do that, but...) to your script.


Re: Problem with Xtreme Admin 2 - alpha500delta - 05.03.2011

Offtopic:

Код:
Header size:           2596 bytes
Code size:           157636 bytes
Data size:           209000 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5316 cells (21264 bytes)
Total requirements:  385616 bytes
You're using to much
pawn Код:
new string[256];
Your server might lagg because of that


Re: Problem with Xtreme Admin 2 - Hiddos - 05.03.2011

Xtreme Admin is an old script, I can't get to the idea of still using it. It is poorly coded, both in efficiency and user-friendly-ness. The last update hasn't been since maybe 2008. I suggest using to systems which at least use decent saving systems and string sizes.

Quote:
Originally Posted by Markx
Посмотреть сообщение
OnPlayerPrivmsg isnt supported anymore.
Use Lux Admin 1.6, its the most amazing admin script ever!
Wait what?