SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 24/06/2010, 04:30 PM   #1
Xchos
Little Clucker
 
Join Date: Mar 2010
Posts: 1
Reputation: 0
Default [INC]Anti-Moneycheat by Xchos

Code:
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
Xchos is offline   Reply With Quote
Old 24/06/2010, 06:06 PM   #2
andreyeu2007
Big Clucker
 
Join Date: Aug 2008
Posts: 50
Reputation: 0
Default Re: [INC]Anti-Moneycheat by Xchos

ALL script releases must include the .pwn file (the source code).
andreyeu2007 is offline   Reply With Quote
Old 24/06/2010, 08:47 PM   #3
SiJ
Gangsta
 
SiJ's Avatar
 
Join Date: Feb 2009
Location: Lithuania
Posts: 898
Reputation: 9
Default Re: [INC]Anti-Moneycheat by Xchos

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
__________________
Guess who's back...
SiJ is offline   Reply With Quote
Old 24/06/2010, 09:16 PM   #4
Kar
Banned
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,993
Reputation: 538
Default Re: [INC]Anti-Moneycheat by Xchos

Quote:
Originally Posted by andreyeu2007
ALL script releases must include the .pwn file (the source code).
good fight.
Kar is offline   Reply With Quote
Old 24/06/2010, 11:32 PM   #5
willsuckformoney
High-roller
 
willsuckformoney's Avatar
 
Join Date: Dec 2009
Posts: 1,494
Reputation: 65
Default Re: [INC]Anti-Moneycheat by Xchos

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
__________________
Fuck the system.
willsuckformoney is offline   Reply With Quote
Old 25/06/2010, 12:09 AM   #6
Kar
Banned
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,993
Reputation: 538
Default Re: [INC]Anti-Moneycheat by Xchos

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

Kar is offline   Reply With Quote
Old 05/07/2010, 05:55 PM   #7
nuriel8833
High-roller
 
nuriel8833's Avatar
 
Join Date: Jun 2009
Location: Israel
Posts: 1,158
Reputation: 16
Default Re: [INC]Anti-Moneycheat by Xchos

.pwn file? something?

nuriel8833 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] [INC] Anti Money Cheat, Anti Ban Weapon FreshKilla Includes 28 11/08/2014 03:05 PM
[DUV] Como criar um Anti-MoneyHack, e Anti-Airbreak [NWD]Tweener_ Português/Portuguese 21 26/11/2010 03:45 PM
[FilterScript] [FS]ANTI-ESC GhOsT[X] Lançamentos/Releases 8 29/03/2010 04:16 PM
Help pls, moneycheat luuksa Help Archive 1 02/01/2010 09:29 PM


All times are GMT. The time now is 07:19 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.