payday rep +
#1

How can I make a simple payday every 1 hour of gameplay every player receives 2k.

I want it very simple.
Reply
#2

pawn Код:
forward ReceivePD(playerid);

public ReceivePD(playerid)
{
     GivePlayerMoney(playerid, 2000);
     GameTextForPlayer(playerid, "Payday Received!", 1000, 1);
     return 1;
}
In Your Function :

pawn Код:
SetTimerEx("ReceivePD, 3600000, false, "i", playerid);
Reply
#3

Under where I put.

SetTimerEx("ReceivePD, 3600000, false, "i", playerid); (sorry

Rep ++
Reply
#4

Under ongamemodeinit
Reply
#5

Quote:
Originally Posted by oscar7610
Посмотреть сообщение
Under where I put.

SetTimerEx("ReceivePD, 3600000, false, "i", playerid); (sorry

Rep ++
Don't ask for Rep earn it!

Quote:
Originally Posted by Yako
Посмотреть сообщение
Under ongamemodeinit
add it on

On‌FilterScriptInit = if you are going to create filterscript
On‌GameModeInit = if you are going to create gamemode
Reply
#6

he offered rep++ not asked for
Reply
#7

Quote:
Originally Posted by varga
Посмотреть сообщение
he offered rep++ not asked for
yeah lol and for that il rep you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)