Raised This Month: $ Target: $400
 0% 

how to?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
donataz
Junior Member
Join Date: May 2010
Old 05-31-2010 , 11:02   how to?
Reply With Quote #1

How to take away money from game,becau people buy all sort of things in buy zone
donataz is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 05-31-2010 , 11:20   Re: how to?
Reply With Quote #2

http://www.amxmodx.org/funcwiki.php?go=func&id=194

cs_set_user_money(id, 0)
reinert is offline
donataz
Junior Member
Join Date: May 2010
Old 05-31-2010 , 12:43   Re: how to?
Reply With Quote #3

where to edit this code?
donataz is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-31-2010 , 12:43   Re: how to?
Reply With Quote #4

Quote:
Originally Posted by donataz View Post
where to edit this code?
You write a plugin.
__________________
fysiks is offline
donataz
Junior Member
Join Date: May 2010
Old 05-31-2010 , 12:52   Re: how to?
Reply With Quote #5

so if i understood i make plungin with inside code cs_set_user_money(id, 0) and name it what ever i want and then put it in place?
donataz is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 05-31-2010 , 12:55   Re: how to?
Reply With Quote #6

Code:
#include <amxmodx> #include <cstrike> #include <hamsandwich> public plugin_init() {     register_plugin( "No Spawn Money", "1.0", "Wrecked" )     RegisterHam( Ham_Spawn, "player", "HamSpawnPost", 1 ) } public HamSpawnPost( id ) {     if( is_user_alive( id ) )     {         cs_set_user_money( id, 0 )     } }
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
donataz
Junior Member
Join Date: May 2010
Old 05-31-2010 , 12:56   Re: how to?
Reply With Quote #7

thanks mate ;)
donataz is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 05-31-2010 , 13:00   Re: how to?
Reply With Quote #8

Quote:
Originally Posted by donataz View Post
thanks mate ;)
No problem.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
donataz
Junior Member
Join Date: May 2010
Old 05-31-2010 , 13:01   Re: how to?
Reply With Quote #9

could you make it a amxx file,i get some errors while trying to make it amxx
donataz is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 05-31-2010 , 13:03   Re: how to?
Reply With Quote #10

http://www.amxmodx.org/webcompiler.cgi?go=dl&id=879645
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 05:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode