SA-MP Forums Archive
IRC cmd [Solved] - 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: IRC cmd [Solved] (/showthread.php?tid=71728)



IRC cmd [Solved] - GTA_Rules - 03.04.2009

Hi!

I've made 2 IRC cmds, !lockserver and !unlockserver. When using !lockserver the server is locked but when I use !unlockserver after that it says it's still locked.

http://pastebin.com/d7b4a27c7

Also it gives 2 warnings:

Код:
C:\Users\Matthias\Desktop\SA-MP Stuff\Servers\Los Santos TDM - Without IRC\filterscripts\IRCScript.pwn(359) : warning 211: possibly unintended assignment
C:\Users\Matthias\Desktop\SA-MP Stuff\Servers\Los Santos TDM - Without IRC\filterscripts\IRCScript.pwn(366) : warning 211: possibly unintended assignment
C:\Users\Matthias\Desktop\SA-MP Stuff\Servers\Los Santos TDM - Without IRC\filterscripts\IRCScript.pwn(768) : warning 204: symbol is assigned a value that is never used: "lockserver"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Bye!

EDIT: ****** and Pugwipe and Marcel already fixed it for me thanks anyway!