Payday system
#1

Hello, I have a problem with the payday, someone help me create it? nesesito that add + exp per hour and having a number of hours is + Plevel. For example exp 0/10 and to reach levels up to ten and so with all levels from already thank you very much.

+rep to help me
Reply
#2

Just set a timer as soon as the player logged in to his/her account like following:
pawn Код:
PaydayTimer[playerid] = SetTimerEx("OnPlayerPayday", 60 * 1000, true, "d", playerid);
Look for 'SetTimerEx' on the wiki if you are unsure about it. Then just create the public OnPlayerPayday and do everything what is needed there. Note that this public is called every minute ( 60 000 milliseconds = 60 seconds).

I will not script a PayDay system for you, nobody will I think. You are supposed to ask here when you get stuck or anything, but not request scripts. Look at existing Roleplay Gamemodes and see how this was solved there or just try it with something easier than a Roleplay script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)