SA-MP Forums Archive
[AJUDA] Juntar um FS com GM - 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] Juntar um FS com GM (/showthread.php?tid=313666)



[AJUDA] Juntar um FS com GM - sonmook - 26.01.2012

Bom baixei esse FS > http://pastebin.com/LwhbnSX0 Crйditos = [iPs]Bohm

Quero juntar ele no Meu FS Oque preciso fazer ? tipo Quando coloco o forward Abaixo \/ Da o SEGUINTE Erro
Код:
forward SendHelperMessage(color, string[]);
forward SendHelperAdminMessage(color, string[]);
Erro :
Код:
C:\Users\Son\Desktop\STA\gamemodes\STA.pwn(22355) : error 004: function "SendHelperAdminMessage" is not implemented



Re: [AJUDA] Juntar um FS com GM - StreetGT - 26.01.2012

coloque as public tambem -.-'


Re: [AJUDA] Juntar um FS com GM - sonmook - 27.01.2012

AAH CONSEGUI VLW


Re: [AJUDA] Juntar um FS com GM - dPlaYer_ - 27.01.2012

Essas Man:
De preferencia bote elas no final do gamemode
pawn Код:
public SendHelperMessage(color, string[])
{
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
                if(IsPlayerConnected(i))
                {
                    if(PlayerInfo[i][pHelper] >= 1 || IsPlayerAdmin(i))
                    {
                                SendClientMessage(i, color, string);
                        }
                }
        }
        printf("[Helper]%s", string);
}
public SendHelperAdminMessage(color, string[])
{
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
                if(IsPlayerConnected(i))
                {
                    if(PlayerInfo[i][pHelper] >= 1 || IsPlayerAdmin(i) || PlayerInfo[i][pAdmin] >= 1)
                    {
                                SendClientMessage(i, color, string);
                        }
                }
        }
        printf("[Helper]%s", string);
}



Re: [AJUDA] Juntar um FS com GM - sonmook - 27.01.2012

[LF]PlaYer Tem msn, Skype ou Algo do Tipo para me ajudar ? se tiver me passe por favor