Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local skin_team = {
- "2": "Team 1 - Swat",
- "3": "Team 1",
- "4": "Grupo 1",
- "102": "Team 2",
- "103": "Team 2 undercover #2",
- "104": "Team 2 undercover #3",
- "117": "Team 3",
- "143": "Team 3",
- "157": "Team 3 Chica #3",
- "180": "Team 4 Vercitti #1",
- "147": "Team 4 Vercitti #2",
- "146": "Team 4 Vercitti #3",
- //.... Continue doing it.
- "77": "Team 8"
- }
- function onScriptLoad(){
- //Your addclasses.
- }
- function onPlayerRequestClass( player, classID, team, skin ){
- //Check the docs. Its been many days since I last touched Squirrel.
- local rawin = skin_team.rawin( skin.tostring() );
- if( rawin ){
- Announce( skin_team[ skin.tostring() ], player, 6 );
- player.SetAnim(28,231);
- PlaySound( player.UniqueWorld , 335 , player.Pos );
- }
- //This ain't needed!
- //Make sure you add all the skins to
- //the table or you'll get this announcement.
- else Announce("Select your skin, mf.",player,6);
- }
- // http://forum.vc-mp.org/?topic=4557.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement