20.09.2012, 10:28
Quote:
|
Can you make for me level system ? 1 minute = 1 expirience point pls
|
pawn Code:
// Somewhere in your script
new pExperience[MAX_PLAYERS];
public OnGameModeInit()
{
SetTimer("GiveExp", 1000 * 60, true);
return 1;
}
forward GiveExp();
public GiveExp()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
pExperience[i] ++;
SendClientMessage(i, -1, "You received 1 experience point for playing 1 minute.");
}
return 1;
}


