SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 26/03/2011, 06:27 PM   #1
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 18,082
Reputation: 2512
Default YSI City Selection

This is just another mode to demonstrate the use of the YSI y_classes and y_groups libraries. This mode allows you to first select which city you want to spawn in and then allows you to select a skin for that city - skins for the other cities are not availalble.

Commands:

"/fl" - Fake login, admins get an extra skin to choose that other people don't, using this command will make you an admin for the purposes of this mode.

"/kill" - The only thing to do here is to select spawns, so you need to return quickly to class selection.

Download:

http://pastebin.com/kw4ykt6q
Y_Less is offline   Reply With Quote
Old 26/03/2011, 06:28 PM   #2
KyleSmith
High-roller
 
Join Date: Mar 2009
Location: United Kingdom
Posts: 2,171
Reputation: 242
Default Re: YSI City Selection

Yet a nice release, could you be able to work on making cars stream on class selection?
KyleSmith is offline   Reply With Quote
Old 26/03/2011, 06:31 PM   #3
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 18,082
Reputation: 2512
Default Re: YSI City Selection

I'm not sure what the issue with cars is, so it may not be something you can fix from PAWN.
Y_Less is offline   Reply With Quote
Old 26/03/2011, 06:32 PM   #4
A_B_C_D
Little Clucker
 
Join Date: Mar 2011
Posts: 13
Reputation: 0
Default Re: YSI City Selection

nice add some cars and obhects and some cmds needed nice rekease
__________________
looking for mapper PM me

looking for scripter PM me

looking for helper PM me

wow! every thing is here just PM me xD
A_B_C_D is offline   Reply With Quote
Old 26/03/2011, 06:32 PM   #5
KyleSmith
High-roller
 
Join Date: Mar 2009
Location: United Kingdom
Posts: 2,171
Reputation: 242
Default Re: YSI City Selection

Quote:
Originally Posted by Y_Less View Post
I'm not sure what the issue with cars is, so it may not be something you can fix from PAWN.
After 0.3 came out cars wasn't streamed on the class selection but if you spawned then went back to class selection and spawned vehicles near the class selection it would show.
KyleSmith is offline   Reply With Quote
Old 26/03/2011, 06:33 PM   #6
Mr L
Huge Clucker
 
Mr L's Avatar
 
Join Date: Jan 2010
Posts: 326
Reputation: 7
Default Re: YSI City Selection

Good job Y_Less
Mr L is offline   Reply With Quote
Old 26/03/2011, 06:46 PM   #7
armyoftwo
Gangsta
 
armyoftwo's Avatar
 
Join Date: Nov 2009
Posts: 693
Reputation: 4
Default Re: YSI City Selection

Great job Y_less, i think that you should demonstrate your textdraw library too.
armyoftwo is offline   Reply With Quote
Old 26/03/2011, 07:11 PM   #8
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 18,082
Reputation: 2512
Default Re: YSI City Selection

Quote:
Originally Posted by A_B_C_D View Post
nice add some cars and obhects and some cmds needed nice rekease
It's more of a tech demo than a real mode, it just doesn't really fit in to any category.
Y_Less is offline   Reply With Quote
Old 26/03/2011, 07:18 PM   #9
xir
Gangsta
 
Join Date: Aug 2010
Posts: 753
Reputation: 0
Default Re: YSI City Selection

Very nice, thanks for this.

Also do you own a server?
xir is offline   Reply With Quote
Old 26/03/2011, 07:25 PM   #10
Mike Garber
Banned
 
Join Date: Feb 2008
Location: Sweden
Posts: 1,594
Reputation: 6
Default Re: YSI City Selection

Why are you using #pragma unused params[]?
Can't you just NOT add that part in the YCMD part like with ZCMD?

Like a normal ZCMD command starts COMMAND:cmd(playerid,params[])
but I If don't use parameters in my command i just do COMMAND:cmd(playerid).

Just asking :P
Mike Garber is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Class Selection Korpy07 Help Archive 3 29/11/2010 01:19 AM
Help in Selection DreamKillah Help Archive 2 07/08/2010 12:10 PM
Skin Selection Tony1337 Help Archive 4 19/04/2010 08:27 PM
cant see skin at selection 02manchestera Help Archive 5 09/04/2010 09:56 PM
Where is my class selection? Hiphop Help Archive 1 04/09/2009 01:52 PM


All times are GMT. The time now is 05:53 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.