Ok it worked!!! First i put all the current map spawnpoints in an array with
level.customspawns = getentarray(spawnpointname, "classname");
Then i added my custom spawnpoints as
...
Ok it worked!!! First i put all the current map spawnpoints in an array with
level.customspawns = getentarray(spawnpointname, "classname");
Then i added my custom spawnpoints as
...
Hi
As you can tell from the title i'm trying to add custom spawnpoints to a map.
spawnpointname = "mp_dm_spawn";
spawnpoints = getentarray(spawnpointname, "classname");
...
Works fine but i had to rebuild the xmodelparts and xmodelsurfs in order to get it to work. so here is the iwd file with all the required files if someone else wants to try it too.
I decided to go the model approach since once it's created it is easier to manipulate.The hard part is to create the model... Too bad i couldn't make it your way. But maybe i use it to do fun stuff...
self [[level.spawnSpectator]]();
self [[level.spectator]]();
self notify("joined spectators");
Ok i finally got it to work. I also had to set the function pointer "level.spawnSpectator =...
Thank you but the problem still exists. It shows me as spectator on the scoreboard but i can still see my score. So i guess it does not properly leave the team.
moveplayer(team)
{
...
Hi
I have a quick question.
I'm trying to improve an anticamp script i use on my server. What i want to add is that if the player gets for instance 2 camping penalties then move him to spectators....
Thanks i will give it a try probably tomorrow. Seems like a good solution.
Ok it seems to have resolved the issue. Thanks again
Hi
I need your help about my problem.
The last days i have been messing around with meatbot on my local windows machine with no big problems. I even tried libcod for windows and it worked fine. The...
After some trial and error i came up with this:
updatestats()
{
async_id = maps\mp\gametypes\_mysql::asyncQuery("SELECT * FROM player_information WHERE login = '" + self.izno["login"] +...
I tested the mysql functions on my server. Although it loads and saves the data fine and showing properly on the custom hud it really starts to lag the game if there are more than 10 players.
The...
The client need to download the sounds also to work.