Raised This Month: $ Target: $400
 0% 

[solved]no target entity MSG_ONE


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 09-02-2012 , 07:53   [solved]no target entity MSG_ONE
Reply With Quote #1

Fixed

Last edited by DoviuX; 09-02-2012 at 09:54.
DoviuX is offline
Send a message via Skype™ to DoviuX
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 09-02-2012 , 08:10   Re: no target entity MSG_ONE
Reply With Quote #2

Code:
 message_begin( MSG_ONE, get_user_msgid( "SayText" ), { 0,0,0 }, id );

PHP Code:
 message_beginMSG_ONE_UNRELIABLEget_user_msgid"SayText" ), { 0,0,}, id ); 
P.S. I hate reading your code so much. That's the last time i'm giong to do it. Sorry.
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 09-02-2012 at 08:10.
Liverwiz is offline
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 09-02-2012 , 08:17   Re: no target entity MSG_ONE
Reply With Quote #3

You mean the code is all bad or too long ? Still getting that error

Last edited by DoviuX; 09-02-2012 at 08:21.
DoviuX is offline
Send a message via Skype™ to DoviuX
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-02-2012 , 08:27   Re: no target entity MSG_ONE
Reply With Quote #4

How do you know that error is coming from that plugin ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 09-02-2012 , 08:33   Re: no target entity MSG_ONE
Reply With Quote #5

I deleted plugin name from plugins.ini and server doesn't crash. What could be the problem ?
DoviuX is offline
Send a message via Skype™ to DoviuX
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-02-2012 , 08:41   Re: no target entity MSG_ONE
Reply With Quote #6

Dunno, code is horrible to read.


Also, consider get_user_info and set_user_info instead of ugly fm_[g/s]et_user_model
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 09-02-2012 , 08:49   Re: no target entity MSG_ONE
Reply With Quote #7

Horrible you mean bad coded ( very bad ) or some mistakes ?
DoviuX is offline
Send a message via Skype™ to DoviuX
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 09-02-2012 , 09:02   Re: no target entity MSG_ONE
Reply With Quote #8

I think they talk about all that variables named with "_" in front. What's the point? And the code it's too compact.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
DoviuX
Senior Member
Join Date: Jun 2009
Location: Lithuania
Old 09-02-2012 , 09:06   Re: no target entity MSG_ONE
Reply With Quote #9

Found the problem but now sure how to fix it, when I set that vip menu will be shown after player spawns server crashes, but when I set it to be shown when player types /vipmenu it shows.
DoviuX is offline
Send a message via Skype™ to DoviuX
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 09-02-2012 , 10:22   Re: no target entity MSG_ONE
Reply With Quote #10

Where is the code?!
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
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 08:19.


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