Problem with Xtreme Admin 2
#1

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 !!
Reply
#2

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

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.
Reply
#4

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
Reply
#5

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)