OnPlayerRequestClass
#1

Hey Guys,

im Getting a Problem.
When a Player come on Team selection it do not show skins available.
Here is my OnPlayerRequestClass:
Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 3142.5554,-1499.8295,32.1060);
	SetPlayerFacingAngle(playerid, 5.1827);
	SetPlayerCameraLookAt(playerid, 3142.5554,-1499.8295,32.1060);
        SetPlayerCameraPos(playerid, 3142.5554,-1499.8295,32.1060);
	switch(classid) // Switching between the classids
    {
         case 0..1/* The first classid is of the cops*/:
         {
              SetPlayerTeam(playerid, Cops); // Setting players team
              GameTextForPlayer(playerid, "~b~Cops", 1000, 3); // Screen msg for player to show what team
         }

         case 2..3/* The second classid is of the criminals*/:
         {
              SetPlayerTeam(playerid, Robbers); // Same as above
              GameTextForPlayer(playerid, "~r~Robbers", 1000, 3); // Same as above
         }
    }
	return 1;
}
i need that it should also show skins available.
Waiting for reply.
Reply


Messages In This Thread
OnPlayerRequestClass - by Avi Raj - 02.01.2013, 07:37
Re: OnPlayerRequestClass - by Racer99 - 02.01.2013, 08:03
Re: OnPlayerRequestClass - by Threshold - 02.01.2013, 08:04
Re: OnPlayerRequestClass - by Avi Raj - 02.01.2013, 11:38
Re: OnPlayerRequestClass - by Infinity90 - 02.01.2013, 11:43

Forum Jump:


Users browsing this thread: 1 Guest(s)