It wont do something when pTimeOnline 300? Rep+ for help
#2

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;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)