same type commands in dcmd. - 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: same type commands in dcmd. (
/showthread.php?tid=425366)
same type commands in dcmd. -
EV007 - 25.03.2013
hey, I've seen this code once where two identical commands were written something like this:
pawn Код:
dcmd_command1(playerid,params[]) || dcmd_command2(playerid,params[])
{
//code
}
But that's not the right way I believe, could anyone tell me the right way?
Re: same type commands in dcmd. -
LarzI - 25.03.2013
pawn Код:
dcmd_command1(playerid, params[])
return dcmd_command2( playerid, params )
Re: same type commands in dcmd. -
EV007 - 25.03.2013
thanks