SA-MP Forums Archive
[GameMode] Class Menu - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] Class Menu (/showthread.php?tid=196200)



Class Menu - Y_Less - 05.12.2010

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


Re: Class Menu - Lynn - 05.12.2010

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


Re: Class Menu - SamyRomafia - 05.12.2010

LOL. QUOTE LYNN


Re: Class Menu - Lynn - 05.12.2010

LOL what?
I like Dialogs.
Not Menus


Re: Class Menu - Scenario - 05.12.2010

It's a neat idea, good work Alex.


Re: Class Menu - Kitten - 05.12.2010

Nice job.


Re: Class Menu - Y_Less - 05.12.2010

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.


Re: Class Menu - Shadow_ - 16.01.2011

Link doesn't seem to be working for me..


Re: Class Menu - God'Z War - 23.06.2012

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


Re: Class Menu - Y_Less - 23.06.2012

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.