29.03.2011, 23:14
(
Последний раз редактировалось Placebo; 30.03.2011 в 00:04.
)
Hey guys, I added a couple of skins and an NPC, but for some reason the class selection is kind of buggy on my script, it doesn't show the skin, the walls are blurry..
It worked fine when I compiled last night, but when I added an NPC this morning, it started happening.
http://i56.tinypic.com/2zrmdc0.png
I don't see what's wrong with my code either...
At first I thought it was the height Z-wise, so i set it up a little, no fix.
Then I tried to set the camera closer.. still no fix..
EDIT: Additional info..
I found that if I kill myself once, and go back to screen selection, skins and object will render....
It worked fine when I compiled last night, but when I added an NPC this morning, it started happening.
http://i56.tinypic.com/2zrmdc0.png
I don't see what's wrong with my code either...
pawn Код:
public OnGameModeInit()
{
SetGameModeText("Blank Script");
AddPlayerClass(102,1513.3730,2773.1711,10.6849,273.1808,0,0,0,0,0,0);
AddPlayerClass(103,1513.3730,2773.1711,10.6849,273.1808,0,0,0,0,0,0);
AddPlayerClass(104,1513.3730,2773.1711,10.6849,273.1808,0,0,0,0,0,0);
AddPlayerClass(105,1513.3730,2773.1711,10.6849,273.1808,0,0,0,0,0,0);
AddPlayerClass(106,1513.3730,2773.1711,10.6849,273.1808,0,0,0,0,0,0);
AddPlayerClass(107,1513.3730,2773.1711,10.6849,273.1808,0,0,0,0,0,0);
ConnectNPC("npc1", "npc1");
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid, 1534.6750,2773.1465,10.6791);
SetPlayerCameraLookAt(playerid, 1513.3730,2773.1711,10.6849);
return 1;
}
Then I tried to set the camera closer.. still no fix..
EDIT: Additional info..
I found that if I kill myself once, and go back to screen selection, skins and object will render....