Crashing on camera change - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Crashing on camera change (
/showthread.php?tid=256353)
Crashing on camera change -
SkizzoTrick - 20.05.2011
pawn Код:
if(dialogid == 80)
{
if(response)
{
if(listitem == 0)
{
playerskin[playerid] = 1;
SetPlayerPos(playerid,203.5408,-95.4952,1005.2578);
SetPlayerCameraPos(playerid,204.0435,-100.3292,1005.2578);
SetPlayerCameraLookAt(playerid,202.3183,-95.1259,1005.2578);
SendClientMessage(playerid,COLOR_WHITE,"You have 5 seconds to take the decission");
SetTimerEx("AR",5000,false,"i",playerid);
}
When the player selects an item he just crashes

....Help?
This happens inside an interior.
Re: Crashing on camera change -
LetsOWN[PL] - 20.05.2011
My sugesstions:
- Forget to add SetPlayerInterior (+ GetPlayerInterior)?
- What does playerskin[playerid] ??
- Try
SetTimerEx("AR",5000,0,"d",playerid); instead your code
~LetsOWN
Re: Crashing on camera change -
SkizzoTrick - 20.05.2011
Quote:
Originally Posted by LetsOWN[PL]
My sugesstions:
- Forget to add SetPlayerInterior (+ GetPlayerInterior)?
- What does playerskin[playerid] ??
- Try SetTimerEx("AR",5000,0,"d",playerid); instead your code
~LetsOWN
|
Nope,the interior is not a problem.