AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   (OLD) Bug Reports (https://forums.alliedmods.net/forumdisplay.php?f=24)
-   -   [CSTRIKE] cs_set_user_armor (https://forums.alliedmods.net/showthread.php?t=11459)

+ARUKARI- 03-20-2005 05:51

[CSTRIKE] cs_set_user_armor
 
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.

Johnny got his gun 03-20-2005 10:46

1 Attachment(s)
どうもありがとう. Fixed 8)


All times are GMT -4. The time now is 19:25.

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