Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onScriptLoad() {
- AddClass(1, RGB( 255,255,255 ), 0, Vector(0,0,0), 0, 0,0,0,0,0,0);
- //Do it yourself, but remember only one class should be there.
- Left_arrow < - //Your bindkey shit
- Right_arrow < - //another :D
- }
- dick <- array( 2 ); //2 is the number of worlds/gamemodes.
- dick[0] = [ 0, 1, 2, 3 ]; //The skins you want.
- dick[1] = [ 4, 5, 6 ]; //Again, the skins you want.
- Iterator <- 0;
- function onKeyDown(player, key) {
- switch (key) {
- case Left_arrow:
- if (player.IsSpawned) return;
- if (Iterator <= 0) Iterator = dick[player.World - 1].len();
- Iterator--;
- player.Skin = dick[player.World - 1][Iterator];
- break;
- case Right_arrow:
- if (player.IsSpawned) return;
- if (Iterator > dick[player.World - 1].len()) Iterator = 0;
- Iterator++;
- player.Skin = dick[player.World - 1][Iterator];
- break;
- }
- }
Add Comment
Please, Sign In to add comment