A Little Problem... - 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: A Little Problem... (
/showthread.php?tid=574804)
A Little Problem... -
KaiserOfGermany - 20.05.2015
Hi guys, sorry i need your help, great master of scripts...
My Filterscript:
http://pastebin.com/wyqEMGGR
This Script it work and \leave exist, yes, but i have my \teles, and if i type \grovehome it will come whit MINIGUN, someone can help me whit this?
Re: A Little Problem... -
vyper - 20.05.2015
How about you don't let them use /teles if they're in /mini ?
Add this on top of your /teles or w/e command you want to be protected:
Код:
if(InMM[playerid] == 1)return SendClientMessage( playerid, -1,"{FFFF00}ERROR: {FFFF00} You are in a DM arena! Type /leave to exit!" );
Re: A Little Problem... -
Konstantinos - 20.05.2015
In /leave command:
https://sampwiki.blast.hk/wiki/ResetPlayerWeapons
and don't allow them to teleport while they're in minigame.