Having trouble with class selection
#1

Hi,

I Don't know why but this is annoying me..it doesn't show the camera were i put it at or doesn't show the player skins until spawn..here is the code i'm using:

SetPlayerPos(playerid, 1958.5710,1325.7734,11.7135);
SetPlayerCameraPos(playerid, 1958.1526,1324.9481,11.7135);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
Reply
#2

Try

pawn Код:
SetPlayerPos(playerid, 1958.5710,1325.7734,11.7135);
SetPlayerCameraPos(playerid, 1958.1526,1324.9481,11.7135);
SetPlayerCameraLookAt(playerid, 1958.5710,1325.7734,11.7135);
Reply
#3

In which callback did you place this? OnPlayerRequestClass?
Reply
#4

@Misiur i placed it on OnGameModeInit
Reply
#5

Place it at OnPlayerRequestClass aswell.
Reply
#6

So both? it should be on OnGameModeInit and OnPlayerRequestClass?
Reply
#7

I'm having another problem when i save my GameMode i go to GameMode files i only find the .pwn but not the .amx file? why is that
Reply
#8

No, use the code I gave you and place it at OnPlayerRequestClass only.
Don't save your gamemode, compile it.
Reply
#9

Thanks .amx file done,But how come it shows up like this?
Reply
#10

In your saved positions, use the last coordinates in the line and put them like this at OnPlayerRequestClass:
pawn Код:
SetPlayerFacingAngle(playerid,YOUR LAST COORDINATES );
Also put the camera that looks at the player further away. As you can see it's way too close.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)