first time making a script.
i used visual studio code, just copy and paste and save as .gsc
how to use in game↓
WIN+R : %localappdata% -> search plutonium, storage, t6, scripts, zm.
create the folder if you cannot find the folder scripts or zm.
init()
{
level thread onPlayerConnect();
}
onPlayerConnect()
{
for(;;)
{
level waittill("connected", player);
player thread onPlayerSpawned();
}
}
onPlayerSpawned()
{
level endon("end_game");
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self setperk("specialty_unlimitedsprint");
self setperk("specialty_weapSpreadMultiplier 0.25");
self setperk("specialty_weapRateMultiplier 0.65");
}
}