24.04.2012, 07:27
pawn Код:
if(oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT)
{
pInfo[playerid][WearingHelmet] = false;
if( IsPlayerAttachedObjectSlotUsed( playerid, 1 ) )
RemovePlayerAttachedObject( playerid, 1 );
}