SA-MP Forums Archive
Can I make my own admin script? - 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: Can I make my own admin script? (/showthread.php?tid=172220)



Can I make my own admin script? - xir - 29.08.2010

Well the titel says it all, can I make an admin script? If yes how?


Re: Can I make my own admin script? - iggy1 - 29.08.2010

learn to script then script an admin system lol look on tutorials board for tutorials


Re: Can I make my own admin script? - playbox12 - 29.08.2010

Admin scripts all sound very hard but trust me its actually really easy. Thats basicly with every "basic" things in SA-MP PAWN. Just follow Iggy's advice and you will eventually get there.


Re: Can I make my own admin script? - xir - 29.08.2010

I took a look at this script

https://sampwiki.blast.hk/wiki/Creating_...ation_Commands

And idk what wrong I did but I get 7 errors

Quote:

C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(7 : error 021: symbol already defined: "OnFilterScriptInit"
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(83) : warning 217: loose indentation
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(93) : warning 217: loose indentation
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(101) : error 026: no matching "#if..."
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(104) : error 021: symbol already defined: "OnFilterScriptInit"
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(109) : warning 217: loose indentation
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(119) : warning 217: loose indentation
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(183) : warning 217: loose indentation
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(187) : warning 217: loose indentation
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(199) : error 017: undefined symbol "gPlayerInfo"
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(199) : warning 215: expression has no effect
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(199) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(199) : error 029: invalid expression, assumed zero
C:\Documents and Settings\COSKUN\Skrivebord\test\filterscripts\Admi n.pwn(199) : fatal error 107: too many error messages on one line

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


7 Errors.

Here is the link to fs...

http://pastebin.com/RADaxWvW

What did I do wrong? Please help me


Re: Can I make my own admin script? - iggy1 - 29.08.2010

Do the basics before you try something like an admin script they are not to complicated to someone who knows what they ae doing but not the easiest thing for the begginer to do.

wiki
https://sampwiki.blast.hk/wiki/PAWN_for_Begginers
https://sampwiki.blast.hk/wiki/PAWN_tutorial

sa-mp tutorial board
http://forum.sa-mp.com/forumdisplay.php?f=70


Re: Can I make my own admin script? - Relixious - 29.08.2010

78: You've already used OnFilterScriptInit.
83: Go learn yourself what identation is.
93: Go learn yourself what identation is.
101: You've used #endif but never used #if.
104: You've already used OnFilterScriptInit.
109: Go learn yourself what identation is.
119: Go learn yourself what identation is.
183: Go learn yourself what identation is.
187: Go learn yourself what identation is.
199+: You've never created "gPlayerInfo".