Score showing 0
#4

Hey Noah, I have nothing against you so.
Have you taken note you need to GetPlayerScore?
Quote:

format(string, sizeof(string), "Score: %i",GetPlayerScore(playerid));

Don't replace your thing with that but you will need to implement it in the line.

Or use this to help you out.

Код:
public OnPlayerCommandText(playerid,text[])
{
    if(!strcmp(cmdtext,"/score",true))
    {
        new string[128];
        format(string, sizeof(string), "Score: %i",GetPlayerScore(playerid));
        SendClientMessage(playerid, COLOR_ORANGE, string);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Score showing 0 - by NoahF - 02.07.2013, 16:16
Re: Score showing 0 - by [UG]Daniel - 02.07.2013, 16:22
Re: Score showing 0 - by Kirollos - 02.07.2013, 16:24
Re: Score showing 0 - by KingyKings - 02.07.2013, 16:25
Re: Score showing 0 - by NoahF - 02.07.2013, 16:25
Re: Score showing 0 - by [UG]Daniel - 02.07.2013, 16:30

Forum Jump:


Users browsing this thread: 2 Guest(s)