SA-MP Forums Archive
Auto Refund ? - 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: Auto Refund ? (/showthread.php?tid=343142)



Auto Refund ? - Evation - 16.05.2012

How can i make my server auto refund.
i got a /refund command, how can i make it auto refund?


Re: Auto Refund ? - AMEENAMEEN - 16.05.2012

What GM Are you using?


Re: Auto Refund ? - Leo Delvecchio - 16.05.2012

Add it in your script...


Re: Auto Refund ? - Evation - 16.05.2012

I can tell all the player info things.


Re: Auto Refund ? - Evation - 16.05.2012

Код:
	new playerb, string[128], pname[MAX_PLAYER_NAME];
	GivePlayerCash(playerb, 10000000);
	PlayerInfo[playerb][pDonateRank] = 2;
	PlayerInfo[playerb][pMats] = 100000;
	PlayerInfo[playerb][pPot]  = 500;
	PlayerInfo[playerb][pCrack] = 500;
	PlayerInfo[playerb][pLevel] = 5;
	PlayerInfo[playerb][pConnectTime] = 2;
where do i put it? :\


Re: Auto Refund ? - Evation - 16.05.2012

Код:
	new playerb, string[128], pname[MAX_PLAYER_NAME];
	GivePlayerCash(playerb, 10000000);
	PlayerInfo[playerb][pDonateRank] = 2;
	PlayerInfo[playerb][pMats] = 100000;
	PlayerInfo[playerb][pPot]  = 500;
	PlayerInfo[playerb][pCrack] = 500;
	PlayerInfo[playerb][pLevel] = 5;
	PlayerInfo[playerb][pConnectTime] = 2;
where do i put it? :\


Re: Auto Refund ? - Baboon - 16.05.2012

At OnPlayerConnect probably...


Re: Auto Refund ? - Evation - 17.05.2012

but when they login they get given money..


Re: Auto Refund ? - mprofitt - 17.05.2012

Put in you login function.