Raised This Month: $32 Target: $400
 8% 

[CSTRIKE] cs_set_user_armor


  
 
 
Thread Tools Display Modes
Author Message
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 03-20-2005 , 05:51   [CSTRIKE] cs_set_user_armor
#1

Code:
public plugin_init() {     register_plugin("armor_load", "0.1", "+ARUKARI-")     register_event("ResetHUD","arm_load","b") } public arm_load(id){     if(is_user_connected(id)){         set_task(0.2,"arm_load2",id)     } } public arm_load2(id){     if(is_user_alive(id)){         cs_set_user_armor(id,300,CS_ARMOR_VESTHELM)     } }

When it played by this code, the following error message came out.

Invalid message; cannnot use broadcast message with a target entity.

And, when they are two people, this error appears alone can problem use.
It hopes for the modification.
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-20-2005 , 10:46  
#2

どうもありがとう. Fixed
Attached Files
File Type: zip cstrike_amxx_dll.zip (34.0 KB, 1396 views)
Johnny got his gun is offline
 


Thread Tools
Display Modes

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 14:57.


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