Admin System Problems [HELPER WILL GET REP]
#1

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

One sentence:

You didn't follow the tutorial correctly.
Reply
#3

i did ! try yourself!
Reply
#4

enyone can help me ?
Reply
#5

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

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

That tutorial is outdated.
Reply
#8

Why its not removed ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)