[Include] functions.inc - Adds new natives for scripters.
#3

They are not natives only plugins add natives. and this is wrong: 0<=plaerid<=MAX_PLAYERS

why not:

PHP код:

stock bool
:IsPlayerPassengerAiming(playerid)
{    
    return 
GetPlayerCameraMode(playerid) == 55 && 22 <= GetPlayerWeapon(playerid) <= 38 && GetPlayerState(playerid) == PLAYER_STATE_PASSENGER;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)