Raised This Month: $ Target: $400
 0% 

[HELP]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 03-21-2017 , 11:05   Re: [HELP]
Reply With Quote #1

Quote:
Originally Posted by D3XT3R View Post
explain to us more....
Well, I amde a command max_give_weapon Usage : player, weapon
I want to check if arg2 contains an item from the g_weaps enumeration to give the player the item from arg2 and display the emssages.Else, it should jsut display a message that the weapon is not valid.

Code:
give_item(player,arg2)
console_print(id, "Admin %s gave %s ^"%s^".", g_szPlayerName,player,arg2)
client_print(0,print_chat,"* Admin %s gave %s ^"%s^".", g_szPlayerName,player,arg2)

Last edited by DarthMan; 03-21-2017 at 11:07.
DarthMan 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 17:58.


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