17.03.2012, 19:06
Try this:
PHP код:
public AddLevel2(playerid)
{
if(PlayerInfo[playerid][pTimeOnline] == 300)
{
PlayerInfo[playerid][pLevel] += 1;
SendClientMessage(playerid,0xFF0000FF,"Info: Congratz! Now you are level 2.");
}
return 1;
}