[GameMode] Class Menu
#1

This isn't really a full gamemode, more a tech demo, but regardless. This script allows you to select which skin category (gangs, beach etc) from a menu then select a skin from within that category from the normal class selection menu. This technique means that you can actually change what skins different people can see, rather than just not letting people spawn with certain skins, even though they can see them.

Screens (try it yourself for better results):

/imageshack/i/samp004nn.png/
/imageshack/i/samp005hv.png/
/imageshack/i/samp006he.png/
/imageshack/i/samp008xk.png/
/imageshack/i/samp009oh.png/

Download:

This is included in YSI (as YSI_ClassMenu) but it's also on pastebin here:

http://y-less.pastebin.ca/2010826
Reply
#2

I prefer dialog, over Menu :P
But either way, great job.
Reply
#3

LOL. QUOTE LYNN
Reply
#4

LOL what?
I like Dialogs.
Not Menus
Reply
#5

It's a neat idea, good work Alex.
Reply
#6

Nice job.
Reply
#7

Quote:
Originally Posted by Lynn
View Post
I prefer dialog, over Menu :P
But either way, great job.
It doesn't really matter HOW you select the class category, more the fact that you can do. There is another script included with YSI (though not yet publicly updated) where you first select a city then a city class using the normal spawn selection, and you can add an admin skin which can be selected at any point only by admins.
Reply
#8

Link doesn't seem to be working for me..
Reply
#9

Quote:

C:\Users\hp\Desktop\spawn.pwn(44) : error 017: undefined symbol "Class_DenySelection"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

how i can solve this error
Reply
#10

Quote:
Originally Posted by God'Z War
View Post
how i can solve this error
For no good reason I renamed that function to "Class_DisableSelection".

Quote:
Originally Posted by Smokkr
View Post
Y_Less I respect you, but I think you post this in wrong section.I think better section is this...
I disagree.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)