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(playerid, params[])
{
//The Command:
return 1;
}
CMD:r(playerid, params[])
{
//The Command:
return cmd_radio(playerid, params)
}
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!