Unfreeze bug?
#2

I just had a theory to fix it.
use an enum :

enum pData

inside it pFreeze or pCanMove or pControllable
when u wanna to freeze a player use this :
pawn Код:
PlayerInfo[playerid][pFreeze] = 1;
Then in the callback
OnPlayerStateChange
if State is passenger :
pawn Код:
if(PlayerInfo[playerid][pFreeze] == 1)
{

}
unfreeze player
remove player from vehicle
and then freeze player.

i think this is can be a fix for ur problem
=========
This is another bug when you crouch © Change player skin with anyway, Then you got freezed.
Reply


Messages In This Thread
Unfreeze bug? - by davdurr - 21.03.2014, 13:58
Re: Unfreeze bug? - by iFarbod - 21.03.2014, 21:04
Re: Unfreeze bug? - by Avi Raj - 22.03.2014, 03:03

Forum Jump:


Users browsing this thread: 1 Guest(s)