SA-MP Forums Archive
[Ajuda] 26 erros - 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] 26 erros (/showthread.php?tid=591176)



26 erros - SukMathcuck - 09.10.2015

E ai, alguйm pode me ajudar? como posso mudar isso? esta dando 26 erros, mais eu n sei onde, o que eu fiz? eu tiro essa parte os 26 erros some..

PHP код:
                /*case 0: format(string, 128, "** %s saiu. (Problema de conexгo)", GetPlayerNameRP(playerid));
                case 1: format(string, 128, "** %s saiu. (Vontade prуpria)", GetPlayerNameRP(playerid));
                case 2: format(string, 128, "** %s saiu. (Kicked/Banned)", GetPlayerNameRP(playerid));
                SendClientMessage(i, -1, string);*/ 



Re: 26 erros - Coringa_Vilao - 09.10.2015

tenta: https://sampforum.blast.hk/showthread.php?tid=240470


AW: 26 erros - cicinho - 09.10.2015

Esses erros devem ter sido causados por alguma chave aberta, olha o codigo correto: https://sampwiki.blast.hk/wiki/OnPlayerDisconnect_PT


Re: 26 erros - RogerCosta - 09.10.2015

Mande o seu OnPlayerDisconnect inteiro. E um aviso, 128 cells pra variбvel string estб muito grande. Defina com 70 cells no mбximo.
Код:
new string[70];



Re: 26 erros - CZ - 09.10.2015

pawn Код:
switch(reason)
    {
    case 0:  format(Str,sizeof(Str), "%s Saiu do Servidor {FFFFFF}|Conexгo/Crash|",Nome(playerid));
    case 1:  format(Str,sizeof(Str), "%s Saiu do Servidor {FFFFFF}|Vontade Propia|",Nome(playerid));
    case 2:  format(Str,sizeof(Str), "%s Saiu do Servidor {FFFFFF}|Kickado/Banido|",Nome(playerid));
    }
    SendClientMessageToAll(0x808080AA, Str);