02.01.2013, 07:37
Hey Guys,
im Getting a Problem.
When a Player come on Team selection it do not show skins available.
Here is my OnPlayerRequestClass:
i need that it should also show skins available.
Waiting for reply.
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;
}
Waiting for reply.


