-
Notifications
You must be signed in to change notification settings - Fork 9
Latest fixes and improvements #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
NexiusTailer
wants to merge
17
commits into
multitheftauto:develop
Choose a base branch
from
NexiusTailer:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
consistent code style, declaring callbacks which only used, tweak parameters' names
for bots, traffic lights and others
- fix for getting player position in spectator mode - fix for flying cars when players were warped in them instantly after streaming in - fix for GetPlayerTeam behaviour when player is in class selection - fix for ShowPlayerMarker behaviour with changing some mode combinations - fix for format error handling when specifiers not match actual arguments by their count - fix for dialog window keep staying after cursor were auto hidden
- hide teams from scoreboard, show only real players there - always correct ammo amount on weapon pickups by default
and GetVehicleParamsCarWindows accordingly
- Corrected misinformation about scriptfiles location - Added link for a_amx.inc when it's firstly mentioned
- Fix their shifting due to wrong coords convertation - Cast RGBA colors better
SA-MP ones: friendly fire, drunk level MTA ones: show chat, playerid from name, stunt events
* animation library was updated * bone_attach was replaced with attachtobones (SA-MP attach function was updated for all changes as well) * mouselook was removed in favor of native implementation * unused functions were removed
make samp nametags disappear too if element become invisible
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SetVehicleParamsCarWindows
andGetVehicleParamsCarWindows
(#29)OnBotStreamIn
,OnBotStreamOut
andOnBotTakeDamage
callbacks. Also addedIsBotStreamedIn
andIsValidBot
OnBotCreate
as there's logical mistake in the previous name (bots can't connect or disconnect). The second reason is to match naming of other similar events (e.g. OnMarkerCreate)OnPlayerClickWorld
united pawn callback. Now it pass entity type intype[]
andid
as entity ID (it may be playerid, vehicleid etc, depends on what type is in the previous parameter). This way it started support actors and bots tooOnPlayerStuntStart
andOnPlayerStuntFinish
OnPlayerWeaponReload
andReloadPlayerWeapon
,ReloadBotWeapon
GetTrafficLightsLocked
,SetTrafficLightsLocked
,GetTrafficLightState
andSetTrafficLightState
SetMinuteDuration
andGetMinuteDuration
SetJetpackWeaponEnabled
andIsJetpackWeaponEnabled
BreakObject
,RespawnObject
, alsoIsObjectRespawnable
andToggleObjectRespawn
IsPlayerDead
,KillPlayer
for players andIsVehicleBlown
,BlowVehicle
for vehiclesShowBotNameTag
,SetBotName
,SetBotFacingAngle
andGetBotFacingAngle
EnableVehicleFriendlyFire
and also fixed friendly fire (on foot) between teammatesSetPlayerDrunkLevel
andGetPlayerDrunkLevel
(#81)ShowPlayerChat
,GetPlayerIDFromName
,GetVehicleCab
,GetPlayerScoreBoardData
andHasPlayerData
IsActorStreamedIn
, it was broken because of wrong parameters in syscalls.luaSetBotArmedWeapon
andIsActorInMarker
GetPlayerSkillLevel
andGetPlayerStat
, as previously they returned float data instead of int