SA-MP Forums Archive
check for two zcmd cmds - 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: check for two zcmd cmds (/showthread.php?tid=457914)



check for two zcmd cmds - cray1100 - 14.08.2013

Hmm... I tried to figure it out myself... Couldnt seem to find it, ive done it before though... I KNOW ITS POSSIBLE!


CMD:r(playerid, params[]) || radio(playerid, params[])


This is my example of what i want... Can someone help me?


Re: check for two zcmd cmds - ThePhenix - 14.08.2013

Here you go:
PHP код:
CMD:radio(playeridparams[])
{
    
//The Command:
    
return 1;
}
CMD:r(playeridparams[])
{
    
//The Command:
    
return cmd_radio(playeridparams)




Re: check for two zcmd cmds - cray1100 - 14.08.2013

Before, i used something like my example... I dont remember though...


Re: check for two zcmd cmds - ThePhenix - 14.08.2013

Read zcmd include thread.
The one I gave you is the right method.


Re: check for two zcmd cmds - cray1100 - 14.08.2013

Ok, ill try it


Re: check for two zcmd cmds - cray1100 - 14.08.2013

Thanks bro!