Function "ShowStats" is not implemented
#10

Feels like I've been trying to put return 1; everywhere in the function and still no success..
Below I will show where in the script I have tried putting return.
pawn Код:
public ShowStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
    {
        if(gPlayerLogged[targetid])
        {
            SendClientMessage(playerid,COLOR_FUNNYGREEN,"STATS");

            new wstring[128];
            new score = PlayerInfo[targetid][pScore];
            GetPlayerHealth(targetid,hp);

            format(wstring, sizeof(wstring), "Level: %d | Hдlsa: %.1f",score, hp);
            SendClientMessage(playerid,COLOR_WHITE, wstring);
                    //HERE I TRIED RETURN
        }
                //HERE I TRIED RETURN
    }
//HERE I TRIED RETURN
}
If you look at Raven's roleplay/SAGC script you see their functions don't return anything.

I really need a fix for this, and RealCop, I appreciate your help so far lets see if someone can help me get this working, thanks.
Reply


Messages In This Thread
Function "ShowStats" is not implemented - by Parrot - 13.01.2011, 20:42
Re: Function "ShowStats" is not implemented - by zSuYaNw - 13.01.2011, 20:46
Re: Function "ShowStats" is not implemented - by Parrot - 13.01.2011, 20:48
Re: Function "ShowStats" is not implemented - by Scenario - 13.01.2011, 20:48
Re: Function "ShowStats" is not implemented - by zSuYaNw - 13.01.2011, 20:50
Re: Function "ShowStats" is not implemented - by Parrot - 13.01.2011, 20:51
Re: Function "ShowStats" is not implemented - by Scenario - 13.01.2011, 21:06
Re: Function "ShowStats" is not implemented - by Parrot - 13.01.2011, 21:08
Re: Function "ShowStats" is not implemented - by Scenario - 13.01.2011, 21:26
Re: Function "ShowStats" is not implemented - by Parrot - 14.01.2011, 09:23

Forum Jump:


Users browsing this thread: 1 Guest(s)