AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   say every spawn? (https://forums.alliedmods.net/showthread.php?t=152885)

lolo1990 03-15-2011 15:59

say every spawn?
 
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.

drekes 03-15-2011 16:28

Re: say every spawn?
 
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");



lolo1990 03-15-2011 16:57

Re: say every spawn?
 
thx man


All times are GMT -4. The time now is 14:35.

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