[Ajuda] Comando Inexistente - 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 Inexistente (
/showthread.php?tid=490798)
Comando Inexistente -
DownGrade - 28.01.2014
Nenhum comando funciona no servidor...
http://pastebin.com/r73deeGq
Obs: tenho todas as includes e pastas criadas...
Alguйm ajuda ?
Re: Comando Inexistente -
Macintosh - 28.01.2014
Geralmente esses problemas acontecem por causa das return's nos comandos. Lembro-me que se um comando tivesse a return 0, ele, бs vezes tinha esse problema de nгo funcionar e bugar todos os outros.
Re: Comando Inexistente -
lHesoyaml - 28.01.2014
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
{
new rStr[148];
format(rStr, sizeof(rStr), "{FFFFFF}O comando {FFFFFF}%s {FFFFFF} й inexistente)", cmdtext);
SendClientMessage(playerid, 0x33AA33AA, rStr);
return true;
}
return true;
}
E use a return como o
Macintosh disse.