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

Quote:
Originally Posted by AlExAlExAlEx
Посмотреть сообщение
pawn Код:
public AddLevel2(playerid)
{
     if(PlayerInfo[playerid][pTimeOnline] < 300)
     {
          PlayerInfo[playerid][pLevel] += 1;
          SendClientMessage(playerid,0xFF0000FF,"Info: Congratz! Now you are level 2.");
     }
     return 1;
}
he is looking for 300 exactly pTimeOnline variable to be!
so i would say change the < to >= just incase it goes over 300 !

Check if pTimeOnline is currectly sotored as a global variable !
Also run a tea with a smaller timer e.g 1,2 mins ?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)