11.05.2012, 07:04
Hello guys. I am scrtpting a TDM script as i never made any, and so, the problems started to show up. Actualy i made it with 2 teams, but after login, on class choise you can choise between the 2 teams, skins, but you don't see the skins. You see nothing, you hear it changing when you click NEXT, but ou don't see the skin you are choising..
What code i have related to this:
Thank you.
What code i have related to this:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerTeamFromClass(playerid, classid);
return 1;
}
forward SetPlayerTeamFromClass(playerid, classid);
public SetPlayerTeamFromClass(playerid, classid)
{
if(classid == 0)
{
gTeam[playerid] = TEAM_CRIME;
}
else if(classid == 1)
{
gTeam[playerid] = TEAM_POLICE;
}
}