SA-MP Forums Archive
[FilterScript] Make Gate with Password - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Make Gate with Password (/showthread.php?tid=444285)



Make Gate with Password - andreasputrawijaya - 16.06.2013

I need FS make a gate with a password . Or please lesson me how make a gate with a password
Thx


Re: Make Gate with Password - BlackHorse - 16.06.2013

ahh this is not FS why you posted here


Re: Make Gate with Password - Avi57 - 16.06.2013

Should be Moved to Scripting Help.

And here is the Example :-
pawn Код:
if(!strcmp(cmdtext, "/close", true,5))
{    
    if(!strcmp(cmdtext[5], "password"))   // password here is password, change it
    {        
        //Move gate to close  
    }    
    else return SendClientMessage(playerid, YOUR_COLOR, "Usage: /close [PASSWORD]");
}



Re: Make Gate with Password - andreasputrawijaya - 16.06.2013

Oke tengkyu