Thanks alot my friend, excited to try this. Appreciate the amount of effort put into your response mate
ImVeryTwisted
Posts
-
[Support] Can you set DVAR so players have VIP when map changes? -
[Support] Throwing knife refilCheers my g
-
[Support] Throwing knife refildoes anybody have a gsc script to refill throwing knives?
I understand how to do it (get the weapon type and if ammo type is 0 give 2) but Im not sure how to implementing this without create a infinite loop that gets called on onplayerspawned -
In-game chat colored namesIn relation to this, is there a publicly available table for the values to write to the memory?
-
[Support] How do i delete bounces?Sass once i do that do you do
if (self.numberOfBounces > 0)
{
for(i = 0; i < self.numberOfBounces ; i++)
{
self.bounce[i] destroy();
self.numberOfBounces -= 1;
wait .01;
}
}because that doesn't work for me
-
[Support] Map voting system GSCRadon LOOOL. Love this community. Try SetDvar( "sv_mapRotationCurrent", "mp_carrier" );
-
[Support] Can you set DVAR so players have VIP when map changes?Are the dvars reset after each game? I've had a go at this but doesn't seem to work
in my init:
level.vipPlusPlusList = []; i = 1; while( i < 17 ) { level.vipPlusPlusList[i - 1] = getdvar( "VIP++" + i ); i++; }
in my onplayerconnect:
myXuid = player getXuid(); foreach(vip in level.vipPlusPlusList) { if (myXuid == vip ) player.status = "VIP++"; }
a shortened version of my function to add a player to list:
namedvarstick = player getXuid(); setdvar( "VIP++" + getdvar( "dvarVIPNumber" ), namedvarstick ); setdvar( "dvarVIPNumber", "" + ( getdvarint( "dvarVIPNumber" ) + 1 ) );
-
[Support] custom teleportgetLocation()
{
self iPrintln(self getOrigin());
}Add this to your menu option
-
[Support] How do i delete bounces?Here's my bounce code:
bounce()
{
trampoline = spawn( "script_model", self.origin );
trampoline setmodel( "t6_wpn_supply_drop_ally" );
foreach( player in level.players )
{
player iPrintln("Bounce Created By: ^2" + self.name);
player thread monitortrampoline( trampoline );
}}
monitortrampoline( model )
{
self endon( "disconnect" );
level endon( "game_ended" );
for(;;)
{
if( distance( self.origin, model.origin ) < 85 )
{
if( self isonground() )
{
self setorigin( self.origin );
}
self setvelocity( self getvelocity() + ( 0, 0, 999 ) );
}
wait 0.01;
}}
I just need a function that deletes all the bounces by that player . Sorry if it seems like a lot, having issues getting it to work
-
[Support] Best EditorDo you have to use gsc studio to comile or is there other options?
-
Any ideas on how to debug GSC caused crashesMy other sever contains no menu and doesn't crash though
-
Any ideas on how to debug GSC caused crashesHi there,
I’m aware I made an older post around this issue but felt this belongs in a new thread. My sever crashes hourly, as a result of testing it’s obvious this is caused by poorly written gsc. Does anybody know how i can debug this to figure out where I’ve messed up in my gsc. I know from previous experience in C# that memory leaks and incorrect threading can cause these crashes too. Obviously I could rewrite my gsc but i doubt that’ll fix it as its my code is mostly the cause of the issue. Any ideas? -
[Support] How could I change map rotation dynamically?What Matrix provided was spot on, exactly what I was looking for. Thank you
-
[Support] How could I change map rotation dynamically?Hi there, Im working on a map voting system that appears when a game has ended. I’m a little confused to the this since the maps are statistically added in the dedicated.cfg. How would I go about changing the map in gsc?
-
[Support] How to skip the map changing transitionsfair enough lads. I thought i saw it in shawns server that’s all. Not important for me but thanks guys
-
Server keeps restarting please help!luigistyle Every 15-20 mins. Yeah buddy mp
-
Server keeps restarting please help!Hi there,
my server always restarts at random and im not sure why. Here are the logs at the point of crashDebug: Could not parse client GUID - 0
[02.19.2020 17:13:07.751] - Debug: 125:47 D;-1113439601;12;axis;Dyl;0;4;axis;[3arc]VKSharma;knife_mp;152;MOD_MELEE;left_foot -
[Support] How to skip the map changing transitionsEnki No lol, I meant to remove the map transitions. Maybe it isn't possible maybe it is
-
[Support] How to skip the map changing transitionsI’ve seen it a few servers and was curious as to how they removed the transitions in between maps so it’s seamless. I’m assuming this could be done with an override in gsc?