Help with score
#1

pawn Код:
forward ExpTimer();
pawn Код:
public OnGameModeInit()
{
    SetTimer("ExpTimer", 60000, true); // Repeating timer set when the server starts up
}
at end of script
pawn Код:
public ExpTimer()  // The timer callback
{
    for(new i = 0; i != MAX_PLAYERS; i++)
    { // Loop
        if(IsPlayerConnected(i) && !IsPlayerNPC(i)) // Checks if player is connected + NPC's don't need experience
        {
            GivePlayerExp(i, 15, ""); // Every connected player receives 1 EXP
        }
    }
    return 1;
}
So this is EXP system from my register FS... How can i make EXP amount displayed in score board too? And please don't touch EXP, because EXP are displayed on textdraw bar, i just want to make EXP display in score board too...
Reply
#2

help
Reply
#3

help me blind people!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)