19.07.2009, 00:48
im useing OnPlayerKeyStateChange to jail i got cmd all working good its perfect the only thing is that it dosent work when in cars ive tried
and i still cant get it working it only works when im on foot.
pawn Код:
if (IsPlayerConnected(playerid) || IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_SPAWNED)
//or
if (IsPlayerConnected(playerid) || IsPlayerInAnyVehicle(playerid) || GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_SPAWNED)
//or
if (IsPlayerConnected(playerid) || IsPlayerInAnyVehicle(playerid) || GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_SPAWNED)
{