16.04.2011, 21:12
Okay i think i got closer now
I changed
to
Now it turns white nad gives me
"Stay within the world boundaries"
Now what?
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
if(gPlayerLogged[playerid] == 0)
{
TogglePlayerSpectating(playerid, 1);
return 1;
}
SetupPlayerForClassSelection(playerid);
if(gPlayerSpawned[playerid] == 1)
{
if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0 || PlayerInfo[playerid][pFMember] != 255)
{
SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
}
else
{
PlayerInfo[playerid][pModel] = PedSkins[classid][0];
}
}
else
{
SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
}
return 1;
}
pawn Код:
SetupPlayerForClassSelection(playerid);
pawn Код:
SpawnPlayer(playerid);
"Stay within the world boundaries"
Now what?