#1

I created a command and it looks like this
Код:
CMD:signcheck(playerid, params[])
{
		if(JustReported[playerid] > 0)
		{
			SendClientMessageEx(playerid, COLOR_GREY, "Wait 1 hour to sign again!");
			return 1;
		}
		JustReported[playerid]=3600;
		GivePlayerCash(playerid, 50000);
		SendClientMessageEx(playerid, COLOR_WHITE, "You have successfully signed your check.");
	return 1;
}
But when im relogging then i can do it again without waiting again...
Reply
#2

Check if the " JustReported " saving
Reply
#3

I dont think it is, but i just took the JustReported from /report command.. i dont nknow how tp set a timer or something like that
Reply
#4

Did you save it somewhere? Like an .ini file?
Reply
#5

Nope?
Reply
#6

Quote:
Originally Posted by CodyAlzack
Посмотреть сообщение
Nope?
If you want it loads when you relog, you must save it in a file.
Read some Y_INI tutorials on the forums.
Reply
#7

in a pwn/amx in a filterscript
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)