is my code right?
#1

Код:
stock TikrinamVIP(playerid)
{
    new gt = gettime();
	if(user.VipTime[playerid] < gt && user.VipTime[playerid] != -1)
	{
		
		user.pVIP[playerid] = 0;
		user.VipTime[playerid] = -1;
		InfoMSG(playerid, "Your membership is over");
		MySQL_Save ( playerid ) ;
	}
}
Reply
#2

Did you try compiling it?

-BTW Wrong section, this should have been posted in Scripting Help section.

Also, I don't know if its right because I have to see what includes were included.
Reply
#3

PAWN doesn't accept periods in variable declarations, so no.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)