payday rep + - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: payday rep + (
/showthread.php?tid=336442)
payday rep + -
oscar7610 - 22.04.2012
How can I make a simple payday every 1 hour of gameplay every player receives 2k.
I want it very simple.
Re: payday rep + -
.FuneraL. - 22.04.2012
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);
Re: payday rep + -
oscar7610 - 22.04.2012
Under where I put.
SetTimerEx("ReceivePD, 3600000, false, "i", playerid); (sorry
Rep ++
Re: payday rep + -
Yako - 22.04.2012
Under ongamemodeinit
Re: payday rep + -
RollTi - 22.04.2012
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
OnFilterScriptInit = if you are going to create filterscript
OnGameModeInit = if you are going to create gamemode
Re: payday rep + -
varga - 22.04.2012
he offered rep++ not asked for
Re: payday rep + -
oscar7610 - 22.04.2012
Quote:
Originally Posted by varga
he offered rep++ not asked for
|
yeah lol and for that il rep you.