21.06.2011, 15:50
pawn Код:
if (newkeys & KEY_SECONDARY_ATTACK)
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if u want more code in key_secondary attack, then return 1 might be needed