Raised This Month: $ Target: $400
 0% 

How to pick up a especif item


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dkmuniz
Senior Member
Join Date: Jun 2013
Old 01-27-2015 , 16:31   How to pick up a especif item
Reply With Quote #1

Hi, i'm making one plugin that give a deagle for player
Code:
if(IsClientInGame(client))
		{
			Client_RemoveAllWeapons(client, "", true);
			GivePlayerItem(client, "weapon_knife");
			new deagle = GivePlayerItem(client, "weapon_deagle");
			SetEntData(deagle, g_Offset_Clip1, 0);
			SetEntityRenderMode(deagle, RENDER_TRANSCOLOR);
			SetEntityRenderColor(deagle, 255, 0, 0);
		}
He will drop the deagle in map, how will I know who took this eagle ? And print in chat "Player %s get the eagle dropped"

Thanks
Dkmuniz 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 18:53.


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