[Ajuda] Comando com o retorno em outro comando. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Comando com o retorno em outro comando. (
/showthread.php?tid=466492)
Comando com o retorno em outro comando. -
davi54723 - 28.09.2013
Eu esqueci esse tipo de cуdigo e queria relembrar.
CMD:GRAMPO retorno para /algemar
CMD:algemar(playerid, params[])
{
ALGEMA E TAL...
return 1;
}
Tipo isso ^~^.
Re: Comando com o retorno em outro comando. -
Juniiro3 - 28.09.2013
Em zcmd й cmd_NOMEDOCOMANDO
Re: Comando com o retorno em outro comando. -
Ley - 28.09.2013
PHP код:
CMD:algemar(playerid, params[])
{
new p2
SetPlayerAttachedObject(p2, 1, 19418, 6, -0.031999, 0.024000, -0.024000, -7.900000, -32.000011, -72.299987, 1.115998, 1.322000, 1.406000);
SetPlayerSpecialAction(p2, SPECIAL_ACTION_CUFFED);
return 1;
}
Isso?
Re: Comando com o retorno em outro comando. -
zSuYaNw - 28.09.2013
pawn Код:
CMD:algemar(playerid, params[]){
return cmd_grampo(playerid, params);
}
ou
pawn Код:
CMD:grampo(playerid, params[]){
return cmd_algemar(playerid, params);
}
Re: Comando com o retorno em outro comando. -
davi54723 - 28.09.2013
Valeuu ^^