So I'm asking my friends for help for a script that works in a Mod Not a map, Basically right when you spawn you will receive 4 perks and they will be random. I'll post atleast one script I want to put it in. If you can reply to me with the Perks in the script Than thanks so much for helping! -dbzfun2
function on_player_spawned() // For when people spawn. { IPrintln("^1Another person!? Woah!"); self thread newMovment(); } function newMovment() { SetDvar( "doublejump_enabled", 1 ); SetDvar( "juke_enabled", 1 ); SetDvar( "wallrun_enabled", 1 ); SetDvar( "sprintLeap_enabled", 1 ); SetDvar( "traverse_mode", 1 ); SetDvar( "sv_cheats", 1 ); }
Double Post Merge: November 06, 2016, 02:24:08 pmI didn't want it to be named How to give, I wanted it to be How do I spawn with all or atleast 4 random perks!
Rip me....
Last Edit: November 06, 2016, 02:40:04 pm by Sidzzz
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
Keep in mind that you need to use the Code tags if you wish to include bits of code or scripts in your post. This is explicitly a forum rule mentioned here - http://ugx-mods.com/forum/index.php?topic=3.0
I took care of it for you this time, but be cautious in the future
Last Edit: November 06, 2016, 02:45:23 pm by Sidzzz
Keep in mind that you need to use the Code tags if you wish to include bits of code or scripts in your post. This is explicitly a forum rule mentioned here - http://ugx-mods.com/forum/index.php?topic=3.0
I took care of it for you this time, but be cautious in the future
Thanks so much man! I'm actually New to forums, In general As in Never have been on a site like this Lol.
So I'm asking my friends for help for a script that works in a Mod Not a map, Basically right when you spawn you will receive 4 perks and they will be random. I'll post atleast one script I want to put it in. If you can reply to me with the Perks in the script Than thanks so much for helping! -dbzfun2
function on_player_spawned() // For when people spawn. { IPrintln("^1Another person!? Woah!"); self thread newMovment(); } function newMovment() { SetDvar( "doublejump_enabled", 1 ); SetDvar( "juke_enabled", 1 ); SetDvar( "wallrun_enabled", 1 ); SetDvar( "sprintLeap_enabled", 1 ); SetDvar( "traverse_mode", 1 ); SetDvar( "sv_cheats", 1 ); }
Double Post Merge: November 06, 2016, 02:24:08 pmI didn't want it to be named How to give, I wanted it to be How do I spawn with all or atleast 4 random perks!
Rip me....
I've never made a mod before but I would assume it is the same as scripting for a map. Considering this is a mod for zombies you can use _zm scripts so just do this:
I've never made a mod before but I would assume it is the same as scripting for a map. Considering this is a mod for zombies you can use _zm scripts so just do this: