SA-MP Forums Archive
how to make cmd with psw - 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: how to make cmd with psw (/showthread.php?tid=658168)



how to make cmd with psw - severance - 25.08.2018

for example /hello "23"


Re: how to make cmd with psw - Shinja - 25.08.2018

Explain more


Re: how to make cmd with psw - severance - 25.08.2018

Password.

For example if i want to do /enter (password)


Re: how to make cmd with psw - DerickClark - 26.08.2018

I don't understand you. Like a Admin,vip, etc command?

Or Account?


Re: how to make cmd with psw - KinderClans - 26.08.2018

Let me check my magic ball so i can understand what you mean...


Re: how to make cmd with psw - Shinja - 26.08.2018

PHP код:
CMD:cmd(playerid,params)
{
    if(
strcmp(params"password")) return //wrong password
    //correct password
    
return 1;