How to stop camera rotation when drunk? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to stop camera rotation when drunk? (
/showthread.php?tid=381299)
How to stop camera rotation when drunk? -
[HK]Ryder[AN] - 29.09.2012
Hello guys,
I wanted to ask that if it is possible to stop the rotation of the camera after a player is drunk. I want him to be drunk but the camera shouldn't go round and round and round..
Any way?
Thanks.
-Ryder
Re: How to stop camera rotation when drunk? -
XtremeR - 29.09.2012
u can make it ur self like
pawn Код:
if(GetPlayerDrunkLevel(playerid) > 1999)
{
SetPlayerDrunkLevel (playerid, 0);
}
then use any animation for Drunk walk
Re: How to stop camera rotation when drunk? -
[HK]Ryder[AN] - 29.09.2012
No..I dont want it like that..I need player to be DRUNK..using SetPlayerDrunkLevel..he REALLY should be drunk..just the camera shouldnt move..
I am using a timer..i tried setcamerabehinplayer but that didnt allow players to shoot..cause it set it behind after some few seconds..
Re: How to stop camera rotation when drunk? -
XtremeR - 29.09.2012
no way like that, as far as i know..
Re: How to stop camera rotation when drunk? -
[HK]Ryder[AN] - 29.09.2012
I also don't know..thats why i created this thread..
Re: How to stop camera rotation when drunk? -
[HK]Ryder[AN] - 29.09.2012
Bump
Re: How to stop camera rotation when drunk? -
HyDrAtIc - 29.09.2012
It's not possible..