ZCMD, two 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: ZCMD, two cmds? (
/showthread.php?tid=624494)
ZCMD, two cmds? -
SukMathcuck - 17.12.2016
How do I put two commands in a single script
Quote:
C:gamemode RP\gamemodes\gamemode2.pwn(2660) : error 029: invalid expression, assumed zero
|
PHP код:
COMANDO:i (playerid, params[])
COMANDO:inventario (playerid, params[]) //error
{
////
}
Re: ZCMD, two cmds? -
EiresJason - 17.12.2016
Try:
PHP код:
COMANDO:i (playerid, params[]) return cmd_inventario(playerid, params);
COMANDO:inventario (playerid, params[]) //error
{
////
}
Re: ZCMD, two cmds? -
BrianFaria - 17.12.2016
I do not understand what you want to do.
Re: ZCMD, two cmds? -
Runn3R - 17.12.2016
You create a new command that runs a command that you want to call like Jason did.
And use the search function.
https://sampforum.blast.hk/showthread.php?tid=91354