Search:
Search took 1.00 seconds.
-
if (!isDefined(self.pers["admin"]))
self.pers["admin"] = 0;
Should be enough.
-
If you copied my code, at least you could read it. It's not that ugly (hopefully).
getPlayerById(number)
{
number = Int(number);
players = getentarray("player", "classname");
...
-
-
Read the error.
undefined is not an entity: (file 'maps/mp/gametypes/_callbacksetup.gsc', line 214)
ip = player getIP();
-
I am not only author of this code. There are many things which I found on killtube..
I should stop posting code on pastebin xD.
Hope someone will find something usefull in it. If anything is...
-
I am available to fix it for you. Just pay me 15 euro/hour. Bumped to 20 euro/hour if I need to teach you how to script.
Minimum commitment for 3 hours at a time.
All joking aside, this...
-
DynamoRIO was a long time on my radar, but I never really managed to be productive with it. It is a "binary translator", which can be used for all kind of Reverse Engineering purposes.
Now I...
-
What do you need the std files for?
I basically just needed them, because the beginning of libcod was a dirty closer() function hack overwrite, but with time I added some other stuff:...
-
-
You can do them by making the commands do mysql queries.
-
That one is hopelessly outdated and unmaintained. Didnt even know I still had it.
When you look at this forum, there's a libcod sub-forum. Below that link, there's links to 3 libcod distributions....
-
-
Yep, those are functions renamed by me in my own libcod. Rename it back to mysql_async_get_result_and_free
Same for other camelCase functions you find non-existing.
-
You're using a libcod version thats compiled without mysql support it seems.
-
Here's a line-by-line analysis of your code, comments are pre-fixed with //
kill()
{
level endon("boot");
setcvar("g_kill", "");
while(1)
{
-
that is because in maxdmg's code:
int(args[2])!=args[2]
is always throwing an error. args[2] is of type string and int(args[2]) is of type int. WHICH YOU WOULD KNOW IF YOU HAD DEVELOPER ENABLED...
-
Show me your init variables.
-
You want to make or get?
Check Asynchronous Mysql
https://killtube.org/showthread.php?1883-Asynchronous-mysql-queries&p=13719&viewfull=1#post13719
Add this as new gsc file into the mod...
-
You dont understand. You need to script. You need to know who send message, what message and to who. Good luck...
-
You can use this function:
sendgameservercommand(id, "h \"^7PM: " + message + "\"");
Where id is an entity number of player who get the message displayed.
-
Use the clientcmd to execute a command.
"rcon "+ getcvar(rcon_password) + " status"
Something like that, dont know the exact command
-
I guess the easiest would be to hook Com_Printf with a little function, which appends all the output of it to a temporary string:
hook_com_printf_to_save_output_to_string();...
-
-
Using this but got error:
in cod2 console
^8idk^7: !location
script runtime error: potential infinite loop in script - killing thread.
(file 'maps/mp/gametypes/_callbacksetup.gsc', line...
-
You're doing too many setclientcvars in the connect frame.