AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [solved]no target entity MSG_ONE (https://forums.alliedmods.net/showthread.php?t=194972)

DoviuX 09-02-2012 07:53

[solved]no target entity MSG_ONE
 
Fixed

Liverwiz 09-02-2012 08:10

Re: no target entity MSG_ONE
 
Code:

message_begin( MSG_ONE, get_user_msgid( "SayText" ), { 0,0,0 }, id );
:arrow:
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.

DoviuX 09-02-2012 08:17

Re: no target entity MSG_ONE
 
You mean the code is all bad or too long ? Still getting that error

ConnorMcLeod 09-02-2012 08:27

Re: no target entity MSG_ONE
 
How do you know that error is coming from that plugin ?

DoviuX 09-02-2012 08:33

Re: no target entity MSG_ONE
 
I deleted plugin name from plugins.ini and server doesn't crash. What could be the problem ?

ConnorMcLeod 09-02-2012 08:41

Re: no target entity MSG_ONE
 
Dunno, code is horrible to read.


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

DoviuX 09-02-2012 08:49

Re: no target entity MSG_ONE
 
Horrible you mean bad coded ( very bad ) or some mistakes ?

Alka 09-02-2012 09:02

Re: no target entity MSG_ONE
 
I think they talk about all that variables named with "_" in front. What's the point? And the code it's too compact.

DoviuX 09-02-2012 09:06

Re: no target entity MSG_ONE
 
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.

lucas_7_94 09-02-2012 10:22

Re: no target entity MSG_ONE
 
Where is the code?!


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

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