Raised This Month: $ Target: $400
 0% 

Please Help...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarkGL
Senior Member
Join Date: Aug 2010
Location: Warsaw, Poland
Old 06-22-2011 , 12:11   Re: Please Help...
Reply With Quote #1

Code:
#include <amxmodx>
#include <cstrike>
#include <fun>

#define PLUGIN "Rastgele Deagle Gelme"
#define VERSION "1.0"
#define AUTHOR "Optimist ( LockdowN )" 


public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTHOR)
	
	register_logevent("Poczatek_Rundy", 2, "1=Round_Start") 
}

public Poczatek_Rundy()
{
	new players[32], num
	get_players(players, num, "ac")
	
	new id = players[random(num)]
	
	if(!is_user_alive(id)){
		return PLUGIN_CONTINUE;
	}
	
	give_item(id, "weapon_m4a1")
	give_item(id, "weapon_mp5navy")
	give_item(id, "weapon_deagle")
	cs_set_user_bpammo(id,CSW_M4A1,555) 
	cs_set_user_bpammo(id,CSW_MP5NAVY,555)  
	cs_set_user_bpammo(id,CSW_DEAGLE,555)
	
	return PLUGIN_CONTINUE;
}
DarkGL 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 23:33.


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