Raised This Month: $51 Target: $400
 12% 

Need Randomly Player Chosen if Round Started Have Laser AWP Cmd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Azeddine
Member
Join Date: Jul 2017
Location: ML_NOTFOUND
Old 08-08-2017 , 18:11   Need Randomly Player Chosen if Round Started Have Laser AWP Cmd
Reply With Quote #1

Hello ,
i have basebuilder and i have extra item laser awp , and i have cmd of the laser awp , i need of roundstarted Randomly Player Get Laser AWP + 350 HP ! Help Me
Azeddine is offline
PurposeLessx
Senior Member
Join Date: Jun 2017
Old 08-08-2017 , 18:16   Re: Need Randomly Player Chosen if Round Started Have Laser AWP Cmd
Reply With Quote #2

Could you send the sma of "get laser awp plugin"?
I may help you
PurposeLessx is offline
Azeddine
Member
Join Date: Jul 2017
Location: ML_NOTFOUND
Old 08-08-2017 , 18:24   Re: Need Randomly Player Chosen if Round Started Have Laser AWP Cmd
Reply With Quote #3

sorry but i don't understand what you mean , in bb_shop i have Items and cmd of the laser awp is client_cmd("azbiAWP")
Azeddine is offline
Azeddine
Member
Join Date: Jul 2017
Location: ML_NOTFOUND
Old 08-08-2017 , 18:25   Re: Need Randomly Player Chosen if Round Started Have Laser AWP Cmd
Reply With Quote #4

if you want the item of laser awp i will give you but first give me the randomly plugin ! please
Azeddine is offline
PurposeLessx
Senior Member
Join Date: Jun 2017
Old 08-08-2017 , 18:38   Re: Need Randomly Player Chosen if Round Started Have Laser AWP Cmd
Reply With Quote #5

Try this

PHP Code:
#include <amxmodx>
#include <fun>
public plugin_init() {
    
register_plugin("Random Player""1.0""PurposeLess")

    
register_logevent("logevent_roundstart"2"1=Round_Start")
}

public 
logevent_roundstart()
{
    static 
players[32], inum
    get_players
(playersinum"ae""TERRORIST")
    if(
inum 0)
    {
        static 
Uid
        Uid 
players[random(inum)]

        
set_user_health(Uidget_user_health(Uid) + 350// Gives 350 HP
        
client_cmd(Uid"azbiAWP"// Gives Awp
    
}

PurposeLessx is offline
Azeddine
Member
Join Date: Jul 2017
Location: ML_NOTFOUND
Old 08-08-2017 , 18:50   Re: Need Randomly Player Chosen if Round Started Have Laser AWP Cmd
Reply With Quote #6

this is for CT or Terro ?!
Azeddine is offline
Azeddine
Member
Join Date: Jul 2017
Location: ML_NOTFOUND
Old 08-08-2017 , 18:51   Re: Need Randomly Player Chosen if Round Started Have Laser AWP Cmd
Reply With Quote #7

+ i need a HUD and Colorchat , if the player get the laser awp the hud is : Player %s Get Laser AWP + 350 HP, sz... and in Colorchat
!g[GangS-GaminG #Random] Player %s Chosen by Random , he Get Laser Awp + 350 HP
Azeddine is offline
Azeddine
Member
Join Date: Jul 2017
Location: ML_NOTFOUND
Old 08-08-2017 , 18:58   Re: Need Randomly Player Chosen if Round Started Have Laser AWP Cmd
Reply With Quote #8

The Plugin not work :'(
Azeddine is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 08-08-2017 , 19:35   Re: Need Randomly Player Chosen if Round Started Have Laser AWP Cmd
Reply With Quote #9

@Azeddine

This is not the request forum, so try to it yourself or go post in the request forum. Also, stop multi posting, use the edit button. It's there for a reason
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Azeddine
Member
Join Date: Jul 2017
Location: ML_NOTFOUND
Old 08-08-2017 , 19:50   Re: Need Randomly Player Chosen if Round Started Have Laser AWP Cmd
Reply With Quote #10

Can you make it for me ? ! and sorry for wrong section
Azeddine 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 10:51.


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