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

scoreattrib dead bomb vip


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 08-06-2007 , 21:08   scoreattrib dead bomb vip
Reply With Quote #1

i did this:

scoreboard(id,2)

public scoreboard(id,st){ // 0 - nothing, 1 - dead, 2 - bomb
message_begin( MSG_ALL, get_user_msgid("ScoreAttrib"),{0,0,0},0)
write_byte(id)
write_byte(st)
message_end()
return PLUGIN_HANDLED
}
and it does not make the person on the scoreboard go "bomb"
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-06-2007 , 21:18   Re: scoreattrib dead bomb vip
Reply With Quote #2

The first byte is 'PlayerID' .

So, I'm not sure that 'MSG_ALL' is correct.

Try this. Not sure.

Code:
message_begin( MSG_ONE, get_user_msgid("ScoreAttrib") ) write_byte( id ) write_byte( st ) message_end()
__________________
Arkshine is offline
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 08-06-2007 , 21:30   Re: scoreattrib dead bomb vip
Reply With Quote #3

Host_Error: WriteDest_Parm: not a client
or is it just its on listen server?
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-06-2007 , 21:45   Re: scoreattrib dead bomb vip
Reply With Quote #4

Try this.

Code:
message_begin( MSG_ONE, get_user_msgid("ScoreAttrib"), _, id ) write_byte( id ) write_byte( st ) message_end()
__________________
Arkshine is offline
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 08-06-2007 , 22:29   Re: scoreattrib dead bomb vip
Reply With Quote #5

thx
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow 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 10:00.


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