27.12.2015, 07:36
i found this but given me 2 error: undefined symbol "timestamp"
PHP код:
if(timestamp() >= GetPVarInt(playerid,"VIPExpiration"))
{
SetPVarInt(playerid, "VIP", 0);
SendClientMessage(playerid, 0xFF0000FF, "Your VIP time has expired.");
}
PHP код:
SetPVarInt(playerid,"VIPExpiration", timestamp()+2592000);