Raised This Month: $ Target: $400
 0% 

say every spawn?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lolo1990
New Member
Join Date: Mar 2011
Old 03-15-2011 , 15:59   say every spawn?
Reply With Quote #1

need help
i want all players to say "/money" when they spawn(every round). i have a plugin show_money.amxx and want it to work automaticaly for clanwars.
lolo1990 is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 03-15-2011 , 16:28   Re: say every spawn?
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <hamsandwich>

public plugin_init()
    
RegisterHam(Ham_Spawn"player""FwdPlayerSpawnPost"1);
    
public 
FwdPlayerSpawnPost(id)
{
    if(
is_user_alive(id))
        
client_cmd(id"say /money");

__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
lolo1990
New Member
Join Date: Mar 2011
Old 03-15-2011 , 16:57   Re: say every spawn?
Reply With Quote #3

thx man
lolo1990 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 14:35.


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