SPK-Admin Code Errors
#1

Added SPK-admin to FS's, and added both .pwn and .amx file, but opened the .pwn cause I wanted to edit the /login commands and stuff, and tried compiling it, before even making any changes, and got errors. Could someone help me, so I could successfully compile this? Thanks!

SPK-admin: http://forum.sa-mp.com/index.php?topic=153301.0

Here are my error messages:

(edited beginning of errors for security reasons.)
\GTA\samp\filterscripts\SPK-admin.pwn(103 : error 025: function heading differs from prototype
\GTA\samp\filterscripts\SPK-admin.pwn(1043) : error 025: function heading differs from prototype
\GTA\samp\filterscripts\SPK-admin.pwn(104 : error 025: function heading differs from prototype
\GTA\samp\filterscripts\SPK-admin.pwn(1073) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
\GTA\samp\filterscripts\SPK-admin.pwn(107 : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
\GTA\samp\filterscripts\SPK-admin.pwn(1083) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
\GTA\samp\filterscripts\SPK-admin.pwn(108 : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
\GTA\samp\filterscripts\SPK-admin.pwn(1093) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
\GTA\samp\filterscripts\SPK-admin.pwn(109 : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
\GTA\samp\filterscripts\SPK-admin.pwn(1103) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
\GTA\samp\filterscripts\SPK-admin.pwn(110 : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer")
\GTA\samp\filterscripts\SPK-admin.pwn(1826) : warning 203: symbol is never used: "gBotID"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply
#2

Line 1073 to 1826 Delete,
Others no sei
Reply
#3

Quote:
Originally Posted by TheGarfield
Line 1073 to 1826 Delete,
Others no sei
Only goes up to like 1825, so I deleted 1073 to 1825, and got new error messages
Reply
#4

Could someone maybe get the script to work, and give me the whole .pwn code?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)