[AJUDA] Include
#1

Olб Pessoal,
O Meu Problema й Que Quando Eu Coloco A Include do OnPlayerShotPlayer No Meu GM, Ele Da Os Seguintes Erros!
pawn Код:
C:\Users\pc\Desktop\SERVER\pawno\include\servermoneyGM.inc(16) : error: 004: function "GMExit" is not implemented
C:\Users\pc\Desktop\SERVER\pawno\include\servermoneyGM.inc(16) : error: 004: function "OnPlayerHaveExtraCash" is not implemented
C:\Users\pc\Desktop\SERVER\pawno\include\foreach.inc(16) : warning: 209: function "GMInit" should return a value
C:\Users\pc\Desktop\SERVER\pawno\include\foreach.inc(16) : warning: 201: redefinition of constant/macro (symbol "OnGameModeInit")
Se Precisar De Outros Codigos й So Avisar!
Obrigado!
Reply
#2

Poste as includes aqui. upe elas no pastebin.com
Reply
#3

function "GMExit" is not implemented
Estб usando esta funзгo de forma errada.

function "OnPlayerHaveExtraCash" is not implemented
estґґa tambйm usando de forma errada.

redefinition of constant/macro (symbol "OnGameModeInit")
tem dois OnGameMode Inits, apague 1.
Reply
#4

Ta Ae AS Includes!

OPSP>> http://pastebin.com/FG7dmTZs
servermoneyGM >> http://pastebin.com/gMS8pVXz
foreach >> http://pastebin.com/P4FLLCZe
Reply
#5

alguem?
Reply
#6

pawn Код:
public ServerMoneyCB()
{
    CallLoop(ServerSidep,MAX_PLAYERS)
    {
        if(IsPlayerConnected(ServerSidep))
        {
            if(GetPlayerMoney(ServerSidep) != ServerSideCash[ServerSidep])
            {
                new H4xc4sh=GetPlayerMoney(ServerSidep);
                H4xc4sh=H4xc4sh-ServerSideCash[ServerSidep];
            ===>>>  if(H4xc4sh > CALLBACK_AMOUNT) OnPlayerHaveExtraCash(ServerSidep,H4xc4sh);
            }
            GivePlayerMoney(ServerSidep,-GetPlayerMoney(ServerSidep));
            GivePlayerMoney(ServerSidep,ServerSideCash[ServerSidep]);
        }
       
    }
    return 1;
}
Ajuda!! so ESsa Linha Com ===>>> Da Erro Agora!!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)