Raised This Month: $ Target: $400
 0% 

...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hectorz0r
Senior Member
Join Date: Oct 2008
Old 12-21-2009 , 14:58   ...
Reply With Quote #1

...

Last edited by hectorz0r; 04-09-2010 at 16:46.
hectorz0r is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-21-2009 , 15:19   Re: Server crash (server_cmd&server_exec)
Reply With Quote #2

Remove server_exec()
__________________
Arkshine is offline
hectorz0r
Senior Member
Join Date: Oct 2008
Old 12-21-2009 , 15:26   Re: Server crash (server_cmd&server_exec)
Reply With Quote #3

...

Last edited by hectorz0r; 04-09-2010 at 16:46.
hectorz0r is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-21-2009 , 15:29   Re: Server crash (server_cmd&server_exec)
Reply With Quote #4

Without server_cmd("cool_man %d", eat_shit_and_die), it still crashes ? I guess no.

So, what does "cool_man" command ? Show the source.
__________________
Arkshine is offline
hectorz0r
Senior Member
Join Date: Oct 2008
Old 12-21-2009 , 15:32   Re: Server crash (server_cmd&server_exec)
Reply With Quote #5

...

Last edited by hectorz0r; 04-09-2010 at 16:46.
hectorz0r is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-21-2009 , 15:53   Re: Server crash (server_cmd&server_exec)
Reply With Quote #6

To set a cvar, use set_cvar_num() or set_pcvar_num(). It's recommanded to use the second. Don't use server_cmd()+server_exec().
__________________
Arkshine is offline
hectorz0r
Senior Member
Join Date: Oct 2008
Old 12-21-2009 , 16:10   Re: Server crash (server_cmd&server_exec)
Reply With Quote #7

...

Last edited by hectorz0r; 04-09-2010 at 16:46.
hectorz0r is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-21-2009 , 16:12   Re: Server crash (server_cmd&server_exec)
Reply With Quote #8

If you set set_pcvar_num() you must use the pointer provided by register_cvar() or get_cvar_pointer();
__________________
Arkshine is offline
hectorz0r
Senior Member
Join Date: Oct 2008
Old 12-21-2009 , 17:05   Re: Server crash (server_cmd&server_exec)
Reply With Quote #9

...

Last edited by hectorz0r; 04-09-2010 at 16:46.
hectorz0r 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 04:10.


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