AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   save setinfo command times? help~ (https://forums.alliedmods.net/showthread.php?t=40703)

lucky109 07-02-2006 03:42

save setinfo command times? help~
 
Code:

#include <amxmodx>

public client_putinserver(id)
{

        client_cmd(id,"setinfo myserabcd_1")
        client_cmd(id,"setinfo myserabcdef_2")
        client_cmd(id,"setinfo myserabcdefg_3")
        client_cmd(id,"setinfo myser_40")
}

i can save 3 "setinfo" command to my config~
but...why i can't save the last command "setinfo myser_40" to my config ?
is it can't save "setinfo" 4 times?

teame06 07-02-2006 04:03

Re: save setinfo command times? help~
 
It because you can't have to many setinfo. There is a limit of setinfo you can do. Saving things to your setinfo isn't a good idea

WaZZeR++ 07-02-2006 19:20

Re: save setinfo command times? help~
 
#define MAX_INFO_STRING 256

From the sdk, dont think they have changed it for cs.


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

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