Писать по поводу рекламы ВК: Ссылка на личку
Цены на рекламу

» » » FiveMP 0.1b RC2

FiveMP 0.1b RC2

FiveMP 0.1b RC2

 
Обновление мультиплеера. Добавлены новые функции.
Разработчики FiveMP опубликовали новую версию своего мультиплеера

FiveMP - это отдельный мультиплеер, который пишется иностранными разработчиками с нуля, в основе не лежит кодов других мультиплееров, в связи с чем, разработка находится на более раннем уровне, по сравнению с тем же MultiFive. Однако, уже мы можем наблюдать множество функций для разработчиков серверов и даже первые наброски синхронизации.


ВНИМАНИЕ:
Мультиплеер работает только на последней версии игры!

Список обновлений:
  1. [LUA] Added: SetObjectLod(int objectid, int distance)
  2. [LUA] Added: Callback OnPlayerEnteringVehicle(int playerid, int vehcileid)  // return 0 will stop the player getting in
  3. [LUA] Added: Callback OnPlayerExitingVehicle(int playerid, int vehcileid)  // return 0 will stop the player getting out
  4. [LUA] Added: SetPlayerVisible(int playerid, bool state)
  5. [LUA] Added: bool = IsPlayerVisible(int playerid)
  6. [LUA] Added: SetPlayerWaypointPos(int playerid, float x, float y)
  7. [LUA] Added: float x, y = GetPlayerWaypointPos(int playerid)
  8. [LUA] Added: HidePlayerWaypoint(int playerid)
  9. [LUA] Added: IsWaypointVisibleForPlayer(int playerid)
  10. [LUA] Added: SetHealth(string entity, int id, int health)  // only for player and object (vheicle health system is diffrent)
  11. [LUA] Added: SetVehicleEngineHealth(int vehcileid, int health)
  12. [LUA] Added: GetVehicleEngineHealth(int vehcileid) - returns int
  13. [LUA] Added: SetVehicleFuelTankHealth(int vehcileid, int health)
  14. [LUA] Added: GetVehicleFuelTankHealth(int vehcileid) - returns int
  15. [LUA] Added: PlayerScreenFadeOut(int playerid, int time(ms))
  16. [LUA] Added: PlayerScreenFadeIn(int playerid, int time(ms))
  17. [LUA] Added: SetPlayerRespawnTime(int playerid, int time(ms))
  18. [LUA] Added: GetPlayerRespawnTime(int playerid)   returns int time(ms)
  19. [LUA] Added: RevivePlayer(int playerid)
  20. [LUA] Added: SetPlayerTeam(int playerid, int team)
  21. [LUA] Added: GetPlayerTeam(int playerid) returns int
  22. [LUA] Added: StartPlayerScreenEffect(int playerid, string effectname, int duration, bool looped)
  23. [LUA] Added: StopPlayerScreenEffect(int playerid, string effectname)
  24. [LUA] Added: StopPlayerScreenEffects(int playerid)  Stops all the screen effects playerid has
  25. [LUA] Added: SetVehicleEngineState(int vehcileid, bool state)
  26. [LUA] Added: GetVehicleEngineState(int vehcileid) returns bool state
  27. [LUA] Added: SetVehicleDoorsLockedForPlayer(int vehcileid, int playerid, int state) //0 - unlocked, 2 = locked, 4 = Can break and enter, cannot leave
  28. [LUA] Added: SetVehicleDoorsLockedForPlayers(int vehcileid, int state)
  29. [LUA] Added: Callback OnVehicleRespawn(int vehicleid)
  30. [LUA] Added: GetPlayerVelocity(int playerid) returns float x,y,z
  31.  
  32. Added: Vehicle Respawn system (if their engine hp < 0 it will respawn after the set time at its created location.)
  33. Added: Vehicle Landing, Tyre Burst & Light sync
  34. Added: You can now turn the console Debug messages off via the servers fivemp.ini (Still logs to file)
  35.  
  36. Change: CreateObject now has 8th param bool dynamic [CreateObject(model, x, y, z, pitch, roll, yaw, dynamic)]
  37. Change: PutPlayerInVehicle now has seat index [PutPlayerInVehicle(playerid, vehcileid, seat)] // (seat) -1 is driver seat, -2 first free passenger seat
  38. Change: Shooting is detected via bound key now rather than a ped check
  39. Change: Redone the respawn system
  40. Change: return 0 for OnPlayerSpawn to block the built in respawing system.
  41. Change: Timer Functions first received arg is the timerid the followed by your set args.
  42.  
  43. Fix: playernames & nametags being unreliable and not being set correctly
  44. Fix: playerPeds not having their hp sync while in a vehicle
  45. Fix: fixed creating timers
  46. Fix: SetPlayerInvincible
  47. Fix: SkyDive & Chute Anims
  48. Fix: HideBlipForPlayer & RemoveBlip
  49. Fix: OnPlayerDisconnect now tracelogs the disconnct reason
  50. Fix: Map is now fully revealed to players by default (latter on will add a lua function to toggle this)
  51. Fix: changed the unlock objects error for old versions to a cout no more annoying popup
  52. Fix: SendMessageToAll & SendMessageToPlayer string to long server crash
  53. Fix: Chat Related crashes
  54. Fix: SetCheckpointHeight
  55. Fix: missing sync for a checkpoints near & far heights
  56. Fix: Vehicle health sync
  57. Fix: No longer able to 'shoot' people when you have no ammo
  58. Fix: SetCheckpointPointsTo now functions correctly
  59. Fix: Players should nolonger cause a server crash if they hit certian conditions that causes them to not connect thus getting ID -1.
  60.  
  61. Notes:
  62. Screen Effects: http://pastebin.com/dafBAjs0
  63. SetVehicleDoorsLockedForPlayers will lock/unlock it on the server meaning that state is synced with all new players too unlike SetVehicleDoorsLockedForPlayer which will not


скачать dle 10.4фильмы бесплатно




1938 07.09.16