SpawnPlayer freezes camera
#1



PHP код:
    GivePlayerMoney(playerid5000);
                
SetSpawnInfo(playerid001958.331343.1215.36269.15000000);
                
SpawnPlayer(playerid);
                
SetCameraBehindPlayer(playerid);
                
ShowPlayerDialog(playeridDialogSkinDIALOG_STYLE_LIST"{ffff00}Choose your gender:""Male\nFemale""Choose"""); 
It's under OnDialogResponse
I tried to use SetPlayerBehindCamera but no change occured.
Reply
#2

I don't thin so its about sa-mp scripts. Make sure you don't have Microsoft IntelliPoint
Reply
#3

I had it on an old Gamemode And I have just tested it and it's working well.
Reply
#4

Have you tried searching your code for any unwanted SetPlayerCameraPos? Maybe there is one in OnPlayerUpdate or some looped timer.
Reply
#5

It's a new script, By the way I used SetCameraBehindPlayer under OnPlayerSpawn and it worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)