04.03.2014, 22:31
1. Game is crashing when player holds KEY_LOOK_BEHIND simple fs
result game crash
2. SetPlayerSkin when player is crouching player is blocking
simple fix
but it should be fixed in samp
3. When player have nitro on his back ( SetPlayerAttachedObject ) and he goes to tunning garage when the doors open all streamed players crash ( im not sure if it still works in 0.3z but in 0.3x yes )
pawn Код:
#include a_samp
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(IsPlayerNPC(playerid)) return 0;
if(newkeys & 320)
{
SetPlayerPos(playerid, 0.0, 0.0, 0.0);
DestroyVehicle(GetPlayerVehicleID(playerid));
}
return 1;
}
2. SetPlayerSkin when player is crouching player is blocking
simple fix
pawn Код:
if(GetPlayerSpecialAction(player) == SPECIAL_ACTION_DUCK)
TogglePlayerControllable(player,true);
3. When player have nitro on his back ( SetPlayerAttachedObject ) and he goes to tunning garage when the doors open all streamed players crash ( im not sure if it still works in 0.3z but in 0.3x yes )