SA-MP Forums Archive
Change Skin Idea/Help - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Change Skin Idea/Help (/showthread.php?tid=261313)



Change Skin Idea/Help - Bmxerlmao5288 - 12.06.2011

So i want to switch Teams.

So i think

My Team Command Is Ran On, this Skin Belongs to This Team And This Skin Belongs To This Team.

How Can I Make So I Can Go Back To the Begining [Choose Skin] Menu?

My First Thought Was

Код:
COMMAND:switchteam((playerid, params[])
{
AddPlayerClass(287,217.5772,1853.6896,12.8221,5.2313,31,29,22,16,31,30); //Army
AddPlayerClass(164,384.4243,2435.0337,16.5000,333.2674,30,29,23,16,30,23); // FBI
}
 return 1;
}



Re: Change Skin Idea/Help - futuretrucker - 12.06.2011

All you need is this in ur command:
pawn Код:
ForceClassSelection(playerid);