Raised This Month: $ Target: $400
 0% 

Help if FD random


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
shoki123
Senior Member
Join Date: Apr 2011
Old 08-12-2011 , 03:59   Help if FD random
Reply With Quote #1

HI I have fd random if ct say /fd its choes freeday to 1 teror.
buy this not work if ct say this ( /fd) It chooses itself
pliz fix this
PHP Code:
 
#include <amxmodx>
#include <fun>
#include <cstrike>

public plugin_init()
    
register_clcmd("say /fd""CmdFd");
    
public 
CmdFd(id)
{
    if(
cs_get_user_team(id) == CS_TEAM_CT)
    {
        new 
iPlayers[32], iNum;
        
get_players(iPlayersiNum"ae""TERRORIST");
        new 
adname[33]
        
get_user_name(idadname23)
        
set_hudmessage255 , -1.0 0.28 1.1 1.1 0.01 0.01 );
        
show_hudmessage(0"%s You have FreeDay This Round Enjoy!"adname)
    
        
set_user_rendering(iPlayers[random(iNum)], kRenderFxGlowShell25500kRenderTransAlpha150);
    }

shoki123 is offline
 



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 03:20.


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