SA-MP Forums Archive
Admin System Problems [HELPER WILL GET REP] - 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)
+--- Thread: Admin System Problems [HELPER WILL GET REP] (/showthread.php?tid=308209)



Admin System Problems [HELPER WILL GET REP] - James Coral - 02.01.2012

I useing this Administrator Filterscript Tutorial: https://sampwiki.blast.hk/wiki/Creating_...l_admin_script

And I got these errors:

Код:
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(12) : error 017: undefined symbol "strtok"
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(12) : error 033: array must be indexed (variable "cmd")
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(21) : error 017: undefined symbol "strtok"
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(21) : error 033: array must be indexed (variable "tmp")
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(24) : error 017: undefined symbol "ORANGE"
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(25) : error 017: undefined symbol "ORANGE"
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(26) : error 079: inconsistent return types (array & non-array)
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(28) : error 017: undefined symbol "ReturnUser"
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(29) : error 017: undefined symbol "strtok"
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(29) : error 033: array must be indexed (variable "tmp")
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(40) : warning 217: loose indentation
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(52) : error 079: inconsistent return types (array & non-array)
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(53) : warning 225: unreachable code
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(53) : warning 217: loose indentation
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(53) : error 079: inconsistent return types (array & non-array)
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(56) : error 004: function "OnPlayerConnect" is not implemented
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(59) : error 079: inconsistent return types (array & non-array)
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(62) : warning 225: unreachable code
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(62) : error 017: undefined symbol "strtok"
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(62) : error 029: invalid expression, assumed zero
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(62) : error 017: undefined symbol "string"
C:\Users\eesti\Desktop\test1\COD\filterscripts\MyAdmin.pwn(62) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


18 Errors.
Enyone Can Help Me?


Re: Admin System Problems [HELPER WILL GET REP] - SchurmanCQC - 02.01.2012

One sentence:

You didn't follow the tutorial correctly.


Re: Admin System Problems [HELPER WILL GET REP] - James Coral - 02.01.2012

i did ! try yourself!


Re: Admin System Problems [HELPER WILL GET REP] - James Coral - 03.01.2012

enyone can help me ?


AW: Admin System Problems [HELPER WILL GET REP] - BigETI - 03.01.2012

Alot of functions were missing. Just follow the tutorial again and re-add the missing functions.

Edit: Bad tutorial. Such tutorials should be removed from SA:MP wiki.


Re: Admin System Problems [HELPER WILL GET REP] - James Coral - 03.01.2012

lol?
there was NOTE But 2 Links dont work:

Usage: /makeadmin playerid level This will make the player an admin with the level you entered. NOTE: This requires ReturnUser, strtok and IsNumeric

RETURNUSER and IsNumeric Links dont work!!!!!!!!!!!!!!!!!!!!!

So its not my mistake!


Re: Admin System Problems [HELPER WILL GET REP] - spedico - 03.01.2012

That tutorial is outdated.


Re: Admin System Problems [HELPER WILL GET REP] - James Coral - 03.01.2012

Why its not removed ?