This repository was archived by the owner on Jan 9, 2023. It is now read-only.
open.mp server public beta build 5
Pre-release
Pre-release
List of plugins ported to open.mp
Reported issues solved in beta build 5
Other changes which may not be listed above:
- Add per-player gangzones and new callbacks
- Fix
TextDrawSetStringForPlayer - Fix
GetVehicleColorandSetVehicleColor - Fix player velocity having random values when not initialized
- Fix
GetPlayerAnimationIndex, now returns 0 when player is not on foot - Fix version mismatch kick (now mods like SAMP Addon and CodsMP should work)
- Add missing server rules
- Fix
Kickcrash - Fix legacy config's filterscripts path
- Fix samp-npc path for windows (NOTE: if your automatically generated config has it as
./samp-npc.exeremove./from the beginning) - Many internal changes for improvements and more flexibility for plugin developers
New scripting api (natives and callbacks); available in here
// Gangzone - Global
native UseGangZoneCheck(zoneid, bool:toggle);
forward OnPlayerEnterGangZone(playerid, zoneid);
forward OnPlayerLeaveGangZone(playerid, zoneid);
forward OnPlayerClickGangZone(playerid, zoneid);
// Gangzone - Player
native CreatePlayerGangZone(playerid, Float:minx, Float:miny, Float:maxx, Float:maxy);
native PlayerGangZoneDestroy(playerid, zoneid);
native PlayerGangZoneShow(playerid, zoneid, color);
native PlayerGangZoneHide(playerid, zoneid);
native PlayerGangZoneFlash(playerid, zoneid, color);
native PlayerGangZoneStopFlash(playerid, zoneid);
native IsValidPlayerGangZone(playerid, zoneid);
native IsPlayerInPlayerGangZone(playerid, zoneid);
native IsPlayerGangZoneVisible(playerid, zoneid);
native PlayerGangZoneGetColor(playerid, zoneid);
native PlayerGangZoneGetFlashColor(playerid, zoneid);
native IsPlayerGangZoneFlashing(playerid, zoneid);
native PlayerGangZoneGetPos(playerid, zoneid, &Float:fMinX, &Float:fMinY, &Float:fMaxX, &Float:fMaxY);
native UsePlayerGangZoneCheck(playerid, zoneid, bool:use);
forward OnPlayerEnterPlayerGangZone(playerid, zoneid);
forward OnPlayerLeavePlayerGangZone(playerid, zoneid);
forward OnPlayerClickPlayerGangZone(playerid, zoneid);