[Include] [INC]Anti-Moneycheat by Xchos
#1

Код:
new money[MAX_PLAYERS];
stock GiveMoney(playerid, cast)
{
	if(GetPlayerMoney(playerid)<money[playerid] && GetPlayerMoney(playerid)!=0) 
	{
		money[playerid]=GetPlayerMoney(playerid);
	}
	else if(cast!=0)
	{
		money[playerid]+=cast;
		ResetPlayerMoney(playerid);
		GivePlayerMoney(playerid, money[playerid]);
	}
	else if(GetPlayerMoney(playerid)>money[playerid])
	{
		ResetPlayerMoney(playerid);
		GivePlayerMoney(playerid, money[playerid]);
	}
	return 1;
}
stock GetMoney(playerid){return money[playerid];}
stock ResetMoney(playerid){money[playerid]=0;return 1;}
works deduction of money, which makes the core game, for example in Ammunations or tuning garage
Reply
#2

ALL script releases must include the .pwn file (the source code).
Reply
#3

Quote:
Originally Posted by andreyeu2007
ALL script releases must include the .pwn file (the source code).
Includes are not in .pwn format.. You have to include a source code, it doesn't matter if it's in .pwn or on the web page :P
Reply
#4

Quote:
Originally Posted by andreyeu2007
ALL script releases must include the .pwn file (the source code).
good fight.
Reply
#5

Quote:
Originally Posted by andreyeu2007
ALL script releases must include the .pwn file (the source code).
why not be a noob?? copy the code and put it in your FS which is what most people do anyways


EDITon't forget the credits ofc
Reply
#6

yea l0l why make a fs using anti money hack rofl.. stupid just put it in your gm

Reply
#7

.pwn file? something?

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)