Raised This Month: $ Target: $400
 0% 

Help at server_cmd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KillhemAll
Member
Join Date: Jun 2008
Old 02-06-2010 , 14:07   Help at server_cmd
Reply With Quote #1

Hello Guys,

I'm back at scripting and I have some questions:

1.

Following Code:

Quote:
server_cmd("wc3_givexp "%s" 1600",playerID);
This does not work! How can I put the " inside the server command code?

Thanks!
__________________

KillhemAll is offline
madeitout
Member
Join Date: Jun 2008
Old 02-06-2010 , 14:14   Re: Help at server_cmd
Reply With Quote #2

try either server_cmd("wc3_givexp \"%s" 1600",playerID);

or server_cmd("wc3_givexp ^"%s" 1600",playerID);

cant remember off hand
__________________
madeitout is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 02-06-2010 , 14:18   Re: Help at server_cmd
Reply With Quote #3

server_cmd("wc3_givexp ^"%s^" 1600",playerID);
Seta00 is offline
KillhemAll
Member
Join Date: Jun 2008
Old 02-06-2010 , 14:22   Re: Help at server_cmd
Reply With Quote #4

Thanks, for ya fast replies I would give you karma if I could
__________________

KillhemAll 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 07:26.


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