Raised This Month: $ Target: $400
 0% 

Announceing


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
jageassyrian
Senior Member
Join Date: Jul 2007
Old 01-01-2008 , 18:24   Announceing
Reply With Quote #1

Well i amd remaking a chance mod for cs hns, and i would like it to announce once a player gets the weapon for example. what do i add to this code so when the user gets the gun it announces to everyone

if(random_num(0, 100) <= 3)
{
give_item(player,"weapon_awp");
new weapon_id = find_ent_by_owner(-1, "weapon_awp", player);
cs_set_weapon_ammo(weapon_id, 3);
client_print(player, print_chat, "You were lucky, you got a awp with 3 bullets")
jageassyrian 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 11:11.


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