Raised This Month: $ Target: $400
 0% 

Need HELP!!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-25-2011 , 10:04   Re: Need HELP!!
Reply With Quote #1

Your argument mismatch should be fixed by the server_exec() changed to server_cmd().
If not, then post your whole code.

You can use a server/console command which sets values rather than a cvar.
Though the plugin can just send a server command to set that value.

You could use a menu where admins can set the values.
Or you could use a file and read from it, though that's more of a hassle to change values.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
raghunarnindi001
Member
Join Date: Apr 2011
Old 07-27-2011 , 03:22   Re: Need HELP!!
Reply With Quote #2

PHP Code:
server_cmd 
didnt work can u plz give an demonstration to "changelevel " command
raghunarnindi001 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-27-2011 , 10:56   Re: Need HELP!!
Reply With Quote #3

Code:
server_cmd("command")

Replace command with the command you want sent to the server console.

It also allows formatting if you need it.
For example:
Code:
server_cmd("kick #%d ^"Too fat for this server.^"", get_user_userid(id))
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
raghunarnindi001
Member
Join Date: Apr 2011
Old 07-28-2011 , 10:16   Re: Need HELP!!
Reply With Quote #4

i am asking for "changelevel " command
PHP Code:
server_cmd" changelevel de_minidust2 " 
does this work ??
raghunarnindi001 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-28-2011 , 10:24   Re: Need HELP!!
Reply With Quote #5

Using server_cmd() is the same as entering the command into the server console.
You should be able to answer that question yourself.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 00:54.


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