Vip time decrease
#1

I try'ed to make that one minute -1 time of VIP, but -1 min from vip time decrease only when i disconnect, whats wrong here?

SetTimerEx("pViplaikasAdd",60000,true,"i");

forward pViplaikasAdd(playerid);
public pViplaikasAdd(playerid);


public OnPlayerConnect(playerid)
{
{
if(PlayerInfo[playerid][pVip])
{
PlayerInfo[playerid][pViplaikas] --;
}
}


This is all my code, so whats wrong?
Reply


Messages In This Thread
Vip time decrease - by Louris - 30.11.2012, 17:27
Re: Vip time decrease - by NumbSkull - 30.11.2012, 17:30
Re: Vip time decrease - by Louris - 01.12.2012, 05:58
Re: Vip time decrease - by [MM]RoXoR[FS] - 01.12.2012, 06:18
Re: Vip time decrease - by Louris - 01.12.2012, 08:38

Forum Jump:


Users browsing this thread: 1 Guest(s)