-
18th October 2018, 17:57
#1
hi i dont believe there is a real documetation except some older functions in https://znation.nl/cod4script/.i can show u how i get stuff working
for the list of all functions u have to look in this file https://github.com/voron00/libcod/blob/master/gsc.cpp everything under compile are the functions and if u wanna get a idea of how to use it u look at the compile name e.g. "renameclient" its under player ,if u look in the https://github.com/voron00/libcod/bl...gsc_player.cpp file there is the function renamclient and it wants a name "char *name;" so the function is called player renameclient(newname);.another example with setvelocity its also in the player.cpp file and it wnats a vector" vec3_t velocity;" so the function looks like this "player setvelocity((x,x,x));"
if there is nothing like this its mostly a get function which work like this varable = player/entity getfunction(); "vel = player getvelocity()"
i hope it helps u a little bit
-
The Following User Says Thank You to vanfreddy For This Useful Post:
kung foo man (18th October 2018)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules