SA-MP Forums Archive
Actor disappears or simply does not appear how,why - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Actor disappears or simply does not appear how,why (/showthread.php?tid=597176)



Actor disappears or simply does not appear how,why - Vaki - 27.12.2015

When icreate a actor he simply disappears or simply does not appear, why? Please help

Quote:

CMDles(playerid, params[])
{
if(UlogovanProvera[playerid] == 0) return Ulogovan(playerid);
if(IsPlayerInRangeOfPoint(playerid, 3.0, 475.31638,-21.36981,1002.68274)) return SCM(playerid,-1,""CRVENA"#GRESKA:"BELA"Niste u Javnoj kuci!");
foreach(Player, i)
{
if(Ples[i] != 0) return SCM(playerid,-1,""CRVENA"#GRESKA:"BELA"Soba je trenutno zauzeta!");
}
TogglePlayerControllable(playerid, 0);
SetPlayerPos(playerid, 2205.6694,-1157.6227,1029.7969);
SetPlayerFacingAngle(playerid,3.0271);
LoopingAnim(playerid,"MISC","seat_talk_01",2.0,1,0 ,0,0,0);
Prostitutka = CreateActor(152, 2206.0967,-1156.9575,1029.7969,172.0236); // Prostitutka
SetActorVirtualWorld(Prostitutka, 15);
SetActorPos(Prostitutka,2206.0967,-1156.9575,1029.7969);
ApplyActorAnimation(Prostitutka, "SPRAYCAN","spraycan_full",4.0,0,0,0,0,0);// Pay anim
SCM(playerid,-1,""ORANGE"INFO:"BELA"Usli ste u sobu za opustanje!");
KapijeTimer[playerid] = SetTimerEx("ples", 30000, false, "d", playerid);
Ples[playerid] = 1;
return 1;
}

http://prntscr.com/9j41b8
http://prntscr.com/9j41gy


Re: Actor disappears or simply does not appear how,why - Vaki - 27.12.2015

Someone know something?


Re: Actor disappears or simply does not appear how,why - Vaki - 28.12.2015

Someone,sorry for bump