Need help about TogglePlayerSpectating camera position
#1

Hello guys, I have got a question. I'm using TogglePlayerSpectating function for hide gui "Spawn button" in registration. But I don't know how to change camera position while is TogglePlayerSpectating enabled. Know somebody how I can change it? Thanks for replies.
Reply
#2

This might help you https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
Reply
#3

Hm, please can you explain little bit more?
I'm new pawner, I just want to know where to place SetPlayerCameraLookAt.
Thanks for reply.
Reply
#4

I think i have the same problem here; I can successfully use these two functions (SetPlayerCameraPos and SetPlayerComeraLookAt) to generate the view I want, but whenever i use the function TogglePlayerSpectating the view is simply changed to another view, that's not even the default view... can someone help me.

// TogglePlayerSpectating(playerid, 1);

// These two function works well as long as i don't call TogglePlayerSpectating above
SetPlayerCameraPos(playerid, x, y, z);
SetPlayerCameraLookAt(playerid, x, y, z);

ps.: I want TogglePlayerSpectating to hide the spawn buttons when i'm showing login dialogs...

Can some one help me?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)