04.07.2012, 02:58
its not a FS just add it under these things..
On top under
On bottom of script
On top under
pawn Код:
#define <a_samp>
forward Score();
pawn Код:
public OnGameModeInit()
{
SetTimer("Score", 60000, 1);
return 1;
}
pawn Код:
public Score()
{
Loop(i, MAX_PLAYERS)
{
if (IsPlayerConnected(i))
{
SetPlayerScore(i, GetPlayerScore(i) + 1));
new str[258];
format(str,sizeof(str),"** You have gained one score");
SendClientMessage(i, COLOR_GREEN, str);
}
}
return 1;
}