AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help at server_cmd (https://forums.alliedmods.net/showthread.php?t=117961)

KillhemAll 02-06-2010 14:07

Help at server_cmd
 
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!

madeitout 02-06-2010 14:14

Re: Help at server_cmd
 
try either server_cmd("wc3_givexp \"%s" 1600",playerID);

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

cant remember off hand

Seta00 02-06-2010 14:18

Re: Help at server_cmd
 
server_cmd("wc3_givexp ^"%s^" 1600",playerID);

KillhemAll 02-06-2010 14:22

Re: Help at server_cmd
 
Thanks, for ya fast replies :D I would give you karma if I could :)


All times are GMT -4. The time now is 07:26.

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