27.12.2008, 18:09
(
Last edited by beckzy; 28/12/2017 at 05:21 PM.
)
a_players.inc
- SpawnPlayer - Kills the player if they are in a vehicle.
- native SetPlayerAmmo(playerid, weaponslot, ammo) - It asks you for the weaponslot but it should say weaponid.
- GetPlayerColor - Returns 0 unless SetPlayerColor has been used.
- GetPlayerSkin - If you change the skin id with SetSpawnInfo, GetPlayerSkin will return the new skin id if the player hasn't respawned yet and is still using the old skin.
- SetPlayerName - If you set to the same name but some letters are in a different case it doesn't work (eg "heLLO" to "hello").
- GetPlayerWeapon - If you are in a vehicle and change weapon using SetPlayerArmedWeapon, it returns the old weapon ID.
- ForceClassSelection - It only resets the variable when the player dies, not if he respawns (SpawnPlayer, TogglePlayerControllable 0).
- RemovePlayerFromVehicle - It only shows the 'exit vehicle' animation for the player being removed.
- GetPlayerSpecialAction - SPECIAL_ACTION_SITTING and SPECIAL_ACTION_EXIT_VEHICLE don't work.
- SetPlayerCheckpoint - If a checkpoint is already set it will use the size of that checkpoint instead of the new one.
- SetPlayerRaceCheckpoint - See SetPlayerCheckpoint.
- SetPlayerWorldBounds - If you hold down the aim key you can walk through world boundries.
- IsPlayerInCheckpoint - Variable isn't initiated until a checkpoint has been set so it returns a undetermined value.
- IsPlayerInRaceCheckpoint - See IsPlayerInCheckpoint.
- TogglePlayerSpectating - Spectating breaks if the target leaves their stream zone (teleport, enter interior).
- SetTimerEx - Arrays and strings do not work correctly - they will always pass only one string.
- GetWeaponName - Returns null for ids 18 (Molotov Cocktail), 44 (Thermal Goggles) and 45 (Night vision Goggles).
- AllowInteriorWeapons - Doesn't work - is easilly scriptable so should be removed?
- SetDeathDropAmount - Doesn't work - is easilly scriptable so should be removed?
- DisableInteriorEnterExits - If the gamemode is changed the doors aren't reenabled.
- CreateMenu - You can't change the width of column 2 it just uses the same as column 1.
- TextDrawColor - Requires the text draw to be shown again for changes to be made.
- TextDrawBackgroundColor - Requires the text draw to be shown again for changes to be made.
- GetVehicleComponentInSlot - Doesn't work for CARMODTYPE_STEREO.
- RepairVehicle - It doesn't work on vehicles Dune and Monster truck - maybe more.