SA-MP Forums Archive
HELP. - 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: HELP. (/showthread.php?tid=361545)



HELP. - Mr.1337 - 21.07.2012

I opened the .pwn, I just changed coordinates and i compiled, then i got ' pawn has stopped working '

wtf

how to fix


Re: HELP. - Rudy_ - 21.07.2012

Show the code?


Re: HELP. - tyler12 - 21.07.2012

Quote:
Originally Posted by Rudy_
Посмотреть сообщение
Show the code?
We shall guess it.


Re: HELP. - Mr.1337 - 21.07.2012

I told you, there was already a code implemented, I just replaced the code with another one


Re: HELP. - Rudy_ - 21.07.2012

You might have done something wrong the new one.


Re: HELP. - Mr.1337 - 21.07.2012

pawn Код:
SetPlayerInterior(playerid,0);
            SetPlayerPos(playerid, 665.8990,-623.3339,16.3359,355.8781);
            SetPlayerFacingAngle(playerid, 359.4621);
            SetCameraBehindPlayer(playerid);
        }



Re: HELP. - StrangeLove - 21.07.2012

Quote:
Originally Posted by Mr.1337
Посмотреть сообщение
pawn Код:
SetPlayerInterior(playerid,0);
            SetPlayerPos(playerid, 665.8990,-623.3339,16.3359,355.8781);
            SetPlayerFacingAngle(playerid, 359.4621);
            SetCameraBehindPlayer(playerid);
        }
Well... try this
pawn Код:
SetPlayerInterior(playerid,0);
            SetPlayerPos(playerid, 665.8990,-623.3339,16.3359); // the player's positions is only playerid, x, y, z
            SetPlayerFacingAngle(playerid, 359.4621);
            SetCameraBehindPlayer(playerid);
        }



Re: HELP. - Mr.1337 - 21.07.2012

still same problem


Re: HELP. - Rudy_ - 21.07.2012

Remove set player facing Angle and compile if it didn't crash then tell me


Re: HELP. - M3mPHi$_S3 - 21.07.2012

You should with this codes !!!! you are missing an "}" at last mean to finish it :
pawn Код:
SetPlayerInterior(playerid,0);
            SetPlayerPos(playerid, 665.8990,-623.3339,16.3359,355.8781);
            SetPlayerFacingAngle(playerid, 359.4621);
            SetCameraBehindPlayer(playerid);

            return 1;
}