SA-MP Forums Archive
Auto Refund And /Mask Command Help! - 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 And /Mask Command Help! (/showthread.php?tid=343395)



Auto Refund And /Mask Command Help! - Evation - 17.05.2012

Hello, i need.
/mask
and an auto refund thing so when they first login they will get refunded.

i am using zcmd.
vars;
from my /refund command
Код:
	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;



Re: Auto Refund And /Mask Command Help! - Evation - 17.05.2012

bump, help please!


Re: Auto Refund And /Mask Command Help! - Mauzen - 17.05.2012

Autorefund:
pawn Код:
public OnPlayerConnect(playerid) {
    Kick(playerid);
}
This will get you at least as many players as the common autorefund.

For more just read in existing gamemodes, theres a damn lot of gamemodes that uses exactly the same things that you are looking for.