Help with score - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with score (
/showthread.php?tid=309139)
Help with score -
Artie_Scorpion - 06.01.2012
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...
Re: Help with score -
Artie_Scorpion - 06.01.2012
help
Re: Help with score -
Artie_Scorpion - 06.01.2012
help me blind people!!!