SA-MP Forums Archive
I need help with my gamemode - 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: I need help with my gamemode (/showthread.php?tid=369232)



I need help with my gamemode - Pro_Drifter - 16.08.2012

Hi all guys my name is William and i need help for my gamemode
i added a lot of things But i cant add SAVING SCORE+1score per minute
Can someone help me with this problem?
Please anwer me soo

Best Regards,William From Greece


Re: I need help with my gamemode - RXservers - 16.08.2012

There are many systems which save player score, you can find one here: https://sampforum.blast.hk/showthread.php?tid=356383

If you want to give +1 score to players every minute this could help you: http://forum.sa-mp.com/showpost.php?...15&postcount=5


Re: I need help with my gamemode - RedFusion - 16.08.2012

pawn Код:
public OnGameModeInit()
{
SetTimer("score",1000,true);//repeating timer 1time each/sec
return 1;
}
forward score();
public score()
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
     SetPlayerScore(i,GetPlayerScore(i)+1);
  }
}