#1

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

wtf

how to fix
Reply
#2

Show the code?
Reply
#3

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

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

You might have done something wrong the new one.
Reply
#6

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

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);
        }
Reply
#8

still same problem
Reply
#9

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

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;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)