28.10.2012, 00:06
Hello.. My character is invisible when I am selecting character in the class selection. I can not see my character, however I can see the gametext.
Any idea what is wrong?
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 222.48, 1822.94, 6.41);
SetPlayerCameraPos(playerid, 222.48, 1822.94, 8.41);
SetPlayerCameraLookAt(playerid, 210.82, 1822.66, 7.41);
SetPlayerFacingAngle(playerid, 269.7381);
switch(classid)
{
case 0..2:
{
GameTextForPlayer(playerid, "~r~Civillian", 3000, 3);
PlayerClass[playerid] = CIVILLIAN;
}
pawn Код:
AddPlayerClass(72,222.48, 1822.94, 6.41,277.8612,0,0,0,0,0,0); //0-Civillian
AddPlayerClass(60,222.48, 1822.94, 6.41,277.8612,0,0,0,0,0,0); //1-Civillian
AddPlayerClass(23,222.48, 1822.94, 6.41,277.8612,0,0,0,0,0,0); //2-Civillian