Raised This Month: $51 Target: $400
 12% 

[TUT] User Icon Status


Post New Thread Reply   
 
Thread Tools Display Modes
SAMURAI16
BANNED
Join Date: Sep 2006
Old 03-14-2007 , 15:36   Re: [TUT] User Icon Status
Reply With Quote #11

-updated the tut
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
flyeni6
Senior Member
Join Date: Jun 2006
Location: CAli
Old 03-18-2007 , 14:42   Re: [TUT] User Icon Status
Reply With Quote #12

Quote:
Originally Posted by SAMURAI16 View Post
Are available 88 icon status.
where are they located or where can I find them?
flyeni6 is offline
Send a message via AIM to flyeni6
SAMURAI16
BANNED
Join Date: Sep 2006
Old 03-18-2007 , 14:52   Re: [TUT] User Icon Status
Reply With Quote #13

sprites\hud.txt . I'm not sure if you will use rest of them
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
zenix
Member
Join Date: Mar 2007
Old 03-18-2007 , 15:32   Re: [TUT] User Icon Status
Reply With Quote #14

I dont have a hud.txt file. Is there another way to find out all the hud icons? Or could you post your copy of hud.txt? (I have CS 1.6)

Nice tut, though! Really think these'll be useful.
zenix is offline
SAMURAI16
BANNED
Join Date: Sep 2006
Old 03-18-2007 , 15:37   Re: [TUT] User Icon Status
Reply With Quote #15

i updated the first post
- see there
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
|POW|Da_ghost
Senior Member
Join Date: Nov 2006
Location: http://snarkcafe.net
Old 04-02-2007 , 04:17   Re: [TUT] User Icon Status
Reply With Quote #16

For some reason I'm getting "Plugin called message_begin with invalid message id"
PS:I'm running svencoop(and DMG icons are enabled)
__________________
If you want me to help you with something please contact me on msn or xfire(Daghost1337)

Last edited by |POW|Da_ghost; 04-02-2007 at 04:21.
|POW|Da_ghost is offline
Send a message via AIM to |POW|Da_ghost Send a message via MSN to |POW|Da_ghost
SAMURAI16
BANNED
Join Date: Sep 2006
Old 04-02-2007 , 07:09   Re: [TUT] User Icon Status
Reply With Quote #17

maybe you don't checked something good or something .
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
|POW|Da_ghost
Senior Member
Join Date: Nov 2006
Location: http://snarkcafe.net
Old 04-02-2007 , 07:58   Re: [TUT] User Icon Status
Reply With Quote #18

Made a test command(Yes command) to test this.
Code:
#include <amxmodx> #include <amxmisc> new iconstatus public plugin_init() {  register_plugin("[404]symtest","0.1","Da_ghost")  register_concmd("404_sym","gho_sym",ADMIN_RCON,"BETA")  iconstatus = get_user_msgid("StatusIcon") } public gho_sym(id,level,cid) {  if (!cmd_access(id,level,cid,1))   return PLUGIN_HANDLED  message_begin(MSG_ONE,iconstatus,{0,0,0},id);  write_byte(1); // status (0=hide, 1=show, 2=flash)  write_string("dmg_bio"); // sprite name  write_byte(0); // red  write_byte(0); // green  write_byte(255); // blue  message_end();  return PLUGIN_HANDLED }
Soz the quick edit messed up
__________________
If you want me to help you with something please contact me on msn or xfire(Daghost1337)

Last edited by |POW|Da_ghost; 04-02-2007 at 08:00.
|POW|Da_ghost is offline
Send a message via AIM to |POW|Da_ghost Send a message via MSN to |POW|Da_ghost
SAMURAI16
BANNED
Join Date: Sep 2006
Old 04-02-2007 , 08:01   Re: [TUT] User Icon Status
Reply With Quote #19

add
PHP Code:
if(!is_user_alive(id)) return PLUGIN_HANDLED
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
Old 04-02-2007, 08:04
|POW|Da_ghost
This message has been deleted by |POW|Da_ghost. Reason: nvm
|POW|Da_ghost
Senior Member
Join Date: Nov 2006
Location: http://snarkcafe.net
Old 04-02-2007 , 08:11   Re: [TUT] User Icon Status
Reply With Quote #20

L 04/02/2007 - 15:12:09: Plugin called message_begin with an invalid message id
(0).
L 04/02/2007 - 15:12:09: [AMXX] Displaying debug trace (plugin "404_multi.amxx")
L 04/02/2007 - 15:12:09: [AMXX] Run time error 10: native error (native "message_begin")
L 04/02/2007 - 15:12:09: [AMXX] [0] 404_test.sma::gho_sym (line 953)

This is the error.
PS:The piece was a part of a bigger plugin so the lines differ.
Also the thing you suggested didn't work.
__________________
If you want me to help you with something please contact me on msn or xfire(Daghost1337)
|POW|Da_ghost is offline
Send a message via AIM to |POW|Da_ghost Send a message via MSN to |POW|Da_ghost
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 13:22.


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