Camera Position
#8

Quote:
Originally Posted by Calgon
Посмотреть сообщение
Try using the camera functions in another callback, if I recall correctly, quite a few functions do not work in the OnPlayerConnect callback as the player hasn't fully connected. If you're not able to do that, perhaps you could create a timer when the player connects, have it run 500-1000MS and make sure it's not repetitive. But I'm unsure of whether the camera functions are affected, as I'm pretty certain I used them in a script I made a while ago.
Thanks a lot, I thought about it, and then I found a little mistake I made.
Instead of
pawn Код:
public OnPlayerRequestSpawn(playerid)
I replaced it with
pawn Код:
public OnPlayerRequestClass(playerid, classid)
It works perfectly now.

Thanks again guys !!
Reply


Messages In This Thread
[SOLVED] Camera Position - by dLu - 25.10.2010, 10:10
Re: Camera Position - by SampStunta - 25.10.2010, 10:15
Re: Camera Position - by dLu - 25.10.2010, 10:30
Re: Camera Position - by TouR - 25.10.2010, 10:45
Re: Camera Position - by dLu - 25.10.2010, 11:48
Re: Camera Position - by Calgon - 25.10.2010, 11:51
Re: Camera Position - by <Weponz> - 25.10.2010, 11:53
Re: Camera Position - by dLu - 25.10.2010, 12:09

Forum Jump:


Users browsing this thread: 3 Guest(s)