[HELP] expiration date
#1

Hi, I know that this
Код:
time() + (30 * 24 * 60 * 60);
is PHP code but how to do that using pawn because I want to make date with +30 days until you can use admin or VIP..
Reply
#2

PHP код:
gettime() + (60*60*24*30
Reply
#3

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
PHP код:
gettime() + (60*60*24*30
What to do?

pawn Код:
GetPVarInt(playerid, "VIP") = gettime() + (60*60*24*30);
Код:
error 022: must be lvalue (non-constant)
warning 215: expression has no effect
Reply
#4

To set the time...you should use Set:

PHP код:
SetPVarInt(playerid,"VIP",gettime() + (60*60*24*30)); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)