PayDay help.
#1

Hello guys.
Can you help me making a payday system?
I have no idea about how to set it to do the things each hour...
Well, i will need to use a timmer.
I don't know how to use it, and how to set it for the real time hours/minutes.

Thank you in advance... I don't need an exactly code, i need to know how to do it.
Reply
#2

Hmm

Top:
pawn Код:
new Pay[32];
forward Payday(playerid);
At your login or connect:
pawn Код:
Pay[playerid] = SetTimerEx("Payday",3600000,true,"i",playerid);
pawn Код:
public Payday(playerid)
{
   
        SendClientMessage(playerid,COLOR_WHITE,"Payday!!!");
}
Not tested
Reply
#3

Just change

pawn Код:
public SaveStats(playerid)
{
   
        SendClientMessage(playerid,COLOR_WHITE,"Payday!!!");
}
to

pawn Код:
public Payday(playerid)
{
   
        SendClientMessage(playerid,COLOR_WHITE,"Payday!!!");
}
...and you should be ready to go!
Reply
#4

Quote:
Originally Posted by Benjo
Посмотреть сообщение
Just change

pawn Код:
public SaveStats(playerid)
{
   
        SendClientMessage(playerid,COLOR_WHITE,"Payday!!!");
}
to

pawn Код:
public Payday(playerid)
{
   
        SendClientMessage(playerid,COLOR_WHITE,"Payday!!!");
}
...and you should be ready to go!
Lol yes indeed. I took this from my script
Reply
#5

Thank you very much. I didn't test it yes, but i think it will work, and if it doesn't, i ix it myself.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)