AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   problem with %s (https://forums.alliedmods.net/showthread.php?t=76568)

Xanacas 08-26-2008 19:27

problem with %s
 
if a small problem:
this give me the correct string back!
PHP Code:

client_print(0,print_chat,"http://www.fg-lan.de/hlstats/web/hlstats2.php?mode=playerinfo2&uniqueid2=%s",Authid

und beim but in this case not, if i say in php echo $uniqueid2; i get '3%' back, whats wrong!?
PHP Code:

show_motd(id"http://www.fg-lan.de/hlstats/web/hlstats2.php?mode=playerinfo2&uniqueid2=%s",Authid)


thx4 help and sry4my bad english!

|PJ| Shorty 08-26-2008 20:16

Re: problem with %s
 
you canīt use %s in show_motd.
format the string before

YamiKaitou 08-26-2008 23:26

Re: problem with %s
 
Scripting questions belong in Scripting Help


All times are GMT -4. The time now is 03:02.

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