18.12.2013, 18:54
First of all 180000 is 3 minutes not one minute. For one minute, put 1000*60 OR 60000
And you typed playerid instead of i.
And you typed playerid instead of i.
pawn Код:
#include <a_samp>
public OnGameModeInit()
{
SetTimer("Score", 180000,true);
return 1;
}
forward Score();
public Score()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i)) continue;
SetPlayerScore(i,GetPlayerScore(i)+1);
}
return 1;
}