openmultiplayer / openmultiplayer/open.mp
YSF features & bugfixes
Open
@IS4Code is already working on this.
Since Oct 11, 2021.
- Dominant language
- C++
- Stars
- 641
- Forks
- 208
- PR merge metrics
- No merged PRs in 30d
Description
- execute(const command[], saveoutput=0, index=0)
- ffind(const pattern[], filename[], len, &idx)
- frename(const oldname[], const newname[])
- dfind(const pattern[], filename[], len, &idx)
- dcreate(const name[])
- drename(const oldname[], const newname[])
- SetModeRestartTime(Float:time)
- Float:GetModeRestartTime()
- SetMaxPlayers(maxplayers)
- SetMaxNPCs(maxnpcs)
- LoadFilterScript(const scriptname[]);
- UnLoadFilterScript(const scriptname[]);
- GetFilterScriptCount()
- GetFilterScriptName(id, name[], len = sizeof(name))
- AddServerRule(const name[], const value[], E_SERVER_RULE_FLAGS:flags = CON_VARFLAG_RULE)
- SetServerRule(const name[], const value[])
- IsValidServerRule(const name[])
- SetServerRuleFlags(const name[], E_SERVER_RULE_FLAGS:flags)
- E_SERVER_RULE_FLAGS:GetServerRuleFlags(const name[])
- ToggleChatTextReplacement(bool:toggle)
- bool:ChatTextReplacementToggled()
- GetServerSettings(&showplayermarkes, &shownametags = 0, &stuntbonus = 0, &useplayerpedanims = 0, &bLimitchatradius = 0, &disableinteriorenterexits = 0, &nametaglos = 0, &manualvehicleengine = 0, &limitplayermarkers = 0, &vehiclefriendlyfire = 0, &defaultcameracollision = 0, &Float:fGlobalchatradius = 0.0, &Float:fNameTagDrawDistance = 0.0, &Float:fPlayermarkerslimit = 0.0)
- GetNPCCommandLine(npcid, npcscript[], length = sizeof(npcscript))
- GetSyncBounds(&Float:hmin, &Float:hmax = 0.0, &Float:vmin = 0.0, &Float:vmax = 0.0)
- SetSyncBounds(Float:hmin, Float:hmax, Float:vmin, Float:vmax)
- GetRCONCommandName(const cmdname[], changedname[], len = sizeof(changedname))
- ChangeRCONCommandName(const cmdname[], changedname[])
- CallFunctionInScript(const scriptname[], const function[], const format[], {Float,_}:...)
- EnableConsoleMSGsForPlayer(playerid, color)
- DisableConsoleMSGsForPlayer(playerid)
- HasPlayerConsoleMessages(playerid, &color = 0)
- YSF_SetTickRate(ticks)
- YSF_GetTickRate()
- YSF_EnableNightVisionFix(bool:enable)
- bool:YSF_IsNightVisionFixEnabled()
- YSF_ToggleOnServerMessage(bool:toggle)
- bool:YSF_IsOnServerMessageEnabled()
- YSF_SetExtendedNetStatsEnabled(bool:enable)
- bool:YSF_IsExtendedNetStatsEnabled()
- YSF_SetAFKAccuracy(time_ms)
- YSF_GetAFKAccuracy()
- SetRecordingDirectory(const dir[])
- GetRecordingDirectory(dir[], len = sizeof(dir))
- IsValidNickName(const name[])
- AllowNickNameCharacter(character, bool:allow)
- IsNickNameCharacterAllowed(character)
- GetAvailableClasses()
- GetPlayerClass(classid, &teamid, &modelid = 0, &Float:spawn_x = 0.0, &Float:spawn_y = 0.0, &Float:spawn_z = 0.0, &Float:z_angle = 0.0, &weapon1 = 0, &weapon1_ammo = 0, &weapon2 = 0, &weapon2_ammo = 0, &weapon3 = 0, &weapon3_ammo = 0)
- EditPlayerClass(classid, teamid, modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
- GetRunningTimers()
- SetPlayerGravity(playerid, Float:gravity)
- Float:GetPlayerGravity(playerid)
- SetPlayerAdmin(playerid, bool:admin);
- SetPlayerTeamForPlayer(playerid, teamplayerid, teamid)
- GetPlayerTeamForPlayer(playerid, teamplayerid)
- SetPlayerSkinForPlayer(playerid, skinplayerid, skin)
- GetPlayerSkinForPlayer(playerid, skinplayerid)
- SetPlayerNameForPlayer(playerid, nameplayerid, const playername[])
- GetPlayerNameForPlayer(playerid, nameplayerid, playername[], size = sizeof(playername))
- SetPlayerFightStyleForPlayer(playerid, styleplayerid, style)
- GetPlayerFightStyleForPlayer(playerid, skinplayerid)
- SetPlayerPosForPlayer(playerid, posplayerid, Float:fX, Float:fY, Float:fZ, bool:forcesync = true)
- SetPlayerRotationQuatForPlayer(playerid, quatplayerid, Float:w, Float:x, Float:y, Float:z, bool:forcesync = true)
- ApplyAnimationForPlayer(playerid, animplayerid, const animlib[], const animname[], Float:fDelta, loop, lockx, locky, freeze, time);
- GetPlayerWeather(playerid)
- TogglePlayerWidescreen(playerid, bool:set)
- IsPlayerWidescreenToggled(playerid)
- GetSpawnInfo(playerid, &teamid, &modelid = 0, &Float:spawn_x = 0.0, &Float:spawn_y = 0.0, &Float:spawn_z = 0.0, &Float:z_angle = 0.0, &weapon1 = 0, &weapon1_ammo = 0, &weapon2 = 0, &weapon2_ammo = 0, &weapon3 = 0, &weapon3_ammo = 0)
- GetPlayerSkillLevel(playerid, skill)
- IsPlayerCheckpointActive(playerid)
- GetPlayerCheckpoint(playerid, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0, &Float:fSize = 0.0)
- IsPlayerRaceCheckpointActive(playerid)
- GetPlayerRaceCheckpoint(playerid, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0, &Float:fNextX = 0.0, &Float:fNextY = 0.0, &Float:fNextZ = 0.0, &Float:fSize = 0.0)
- GetPlayerWorldBounds(playerid, &Float:x_max, &Float:x_min = 0.0, &Float:y_max = 0.0, &Float:y_min = 0.0)
- IsPlayerInModShop(playerid)
- GetPlayerSirenState(playerid)
- GetPlayerLandingGearState(playerid)
- GetPlayerHydraReactorAngle(playerid)
- Float:GetPlayerTrainSpeed(playerid)
- Float:GetPlayerZAim(playerid)
- GetPlayerSurfingOffsets(playerid, &Float:fOffsetX, &Float:fOffsetY = 0.0, &Float:fOffsetZ = 0.0)
- GetPlayerRotationQuat(playerid, &Float:w, &Float:x = 0.0, &Float:y = 0.0, &Float:z = 0.0)
- GetPlayerDialogID(playerid)
- GetPlayerSpectateID(playerid)
- GetPlayerSpectateType(playerid)
- GetPlayerLastSyncedVehicleID(playerid)
- GetPlayerLastSyncedTrailerID(playerid)
- GetPlayerRawIp(playerid)
- SendBulletData(senderid, forplayerid = -1, weaponid, hittype, hitid, Float:fHitOriginX, Float:fHitOriginY, Float:fHitOriginZ, Float:fHitTargetX, Float:fHitTargetY, Float:fHitTargetZ, Float:fCenterOfHitX, Float:fCenterOfHitY, Float:fCenterOfHitZ)
- ShowPlayerForPlayer(forplayerid, playerid, bool:setskin=false)
- HidePlayerForPlayer(forplayerid, playerid)
- AddPlayerForPlayer(forplayerid, playerid, isnpc = 0)
- RemovePlayerForPlayer(forplayerid, playerid)
- SetPlayerChatBubbleForPlayer(forplayerid, playerid, const text[], color, Float:drawdistance, expiretime)
- ResetPlayerMarkerForPlayer(playerid, resetplayerid)
- SetPlayerVersion(playerid, const version[])
- IsPlayerSpawned(playerid)
- IsPlayerControllable(playerid)
- SpawnForWorld(playerid)
- BroadcastDeath(playerid)
- IsPlayerCameraTargetEnabled(playerid)
- SetPlayerDisabledKeysSync(playerid, keys, updown = 0, leftright = 0)
- GetPlayerDisabledKeysSync(playerid, &keys, &updown = 0, &leftright = 0)
- GetPlayerBuildingsRemoved(playerid)
- IsBuildingRemovedForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius)
- TogglePlayerGhostMode(playerid, bool:toggle)
- GetPlayerGhostMode(playerid)
- SetPlayerSyncKeys(playerid, keys, updown, leftright)
- SetPlayerSyncPos(playerid, Float:x, Float:y, Float:z)
- SetPlayerSyncVelocity(playerid, Float:x, Float:y, Float:z)
- SetPlayerSyncRotationQuat(playerid, Float:w, Float:x, Float:y, Float:z)
- SetPlayerSyncCameraFrontVector(playerid, Float:x, Float:y, Float:z)
- SetPlayerSyncCameraPos(playerid, Float:x, Float:y, Float:z)
- SetPlayerSyncCameraMode(playerid, mode)
- SetPlayerSyncWeapon(playerid, weaponid)
- GetPlayerSyncWeapon(playerid)
- SetPlayerSyncWeaponState(playerid, weaponstate)
- SetPlayerSyncSpecialAction(playerid, actionid)
- SetPlayerSyncHealth(playerid, Float:health)
- SetPlayerSyncArmour(playerid, Float:armour)
- SetPlayerSyncVehicleId(playerid, vehicleid, bool:setstate=false)
- SetPlayerSyncVehicleSeat(playerid, seat)
- SetPlayerSyncVehiclePosition(playerid, Float:x, Float:y, Float:z)
- SetPlayerSyncVehicleVelocity(playerid, Float:x, Float:y, Float:z)
- SetPlayerSyncVehicleRotQuat(playerid, Float:w, Float:x, Float:y, Float:z)
- SetPlayerSyncVehicleHealth(playerid, Float:health)
- SetPlayerSyncTrainSpeed(playerid, Float:speed)
- SendPlayerDeath(playerid, forplayerid=-1)
- UpdatePlayerSyncData(playerid, type=-1, bool:setstate=false)
- SendPlayerClientGameInit(playerid, bool:usecjwalk=bool:-1, bool:limitglobalchat=bool:-1, Float:globalchatradius=Float:-1, Float:nametagdistance=Float:-1, bool:disableenterexits=bool:-1, bool:nametaglos=bool:-1, bool:manualvehengineandlights=bool:-1, spawnsavailable=-1, bool:shownametags=bool:-1, bool:showplayermarkers=bool:-1, onfoot_rate=-1, incar_rate=-1, weapon_rate=-1, lagcompmode=-1, bool:vehiclefriendlyfire=bool:-1, const hostname[]="")
- SetPlayerConnectMode(playerid, E_PLAYER_CONNECT_MODE:mode)
- E_PLAYER_CONNECT_MODE:GetPlayerConnectMode(playerid)
- GetActorSpawnInfo(actorid, &skinid, &Float:fX = 0.0, &Float:fY = 0.0, &Float:fZ = 0.0, &Float:fAngle = 0.0)
- GetActorSkin(actorid)
- GetActorAnimation(actorid, animlib[], animlibsize = sizeof(animlib), animname[], animnamesize = sizeof(animname), &Float:fDelta, &loop = 0, &lockx = 0, &locky = 0, &freeze = 0, &time = 0)
- TogglePlayerScoresPingsUpdate(playerid, bool:toggle)
- TogglePlayerFakePing(playerid, bool:toggle)
- SetPlayerFakePing(playerid, ping)
- SetPlayerNameInServerQuery(playerid, const name[])
- GetPlayerNameInServerQuery(playerid, name[], len = sizeof(name))
- ResetPlayerNameInServerQuery(playerid)
- IsPlayerPaused(playerid)
- GetPlayerPausedTime(playerid)
- HideObjectForPlayer(playerid, objectid)
- ShowObjectForPlayer(playerid, objectid)
- HideNewObjectsForPlayer(playerid, bool:toggle)
- IsObjectHiddenForPlayer(playerid, objectid)
- NewObjectsHiddenForPlayer(playerid)
- Float:GetObjectDrawDistance(objectid)
- SetObjectMoveSpeed(objectid, Float:fSpeed)
- Float:GetObjectMoveSpeed(objectid)
- GetObjectTarget(objectid, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0)
- GetObjectAttachedData(objectid, &attached_vehicleid, &attached_objectid = 0, &attached_playerid = 0)
- GetObjectAttachedOffset(objectid, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0, &Float:fRotX = 0.0, &Float:fRotY = 0.0, &Float:fRotZ = 0.0)
- GetObjectSyncRotation(objectid)
- GetObjectMaterial(objectid, materialindex, &modelid, txdname[], txdnamelen = sizeof(txdname), texturename[], texturenamelen = sizeof(texturename), &materialcolor = 0)
- GetObjectMaterialText(objectid, materialindex, text[], textlen = sizeof(text), &materialsize, fontface[], fontfacelen = sizeof(fontface), &fontsize = 0, &bold = 0, &fontcolor = 0, &backcolor = 0, &textalignment = 0)
- IsObjectNoCameraCol(objectid)
- Float:GetPlayerObjectDrawDistance(playerid, objectid)
- SetPlayerObjectMoveSpeed(playerid, objectid, Float:fSpeed)
- Float:GetPlayerObjectMoveSpeed(playerid, objectid)
- Float:GetPlayerObjectTarget(playerid, objectid, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0)
- GetPlayerObjectAttachedData(playerid, objectid, &attached_vehicleid, &attached_objectid = 0, &attached_playerid = 0)
- GetPlayerObjectAttachedOffset(playerid, objectid, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0, &Float:fRotX = 0.0, &Float:fRotY = 0.0, &Float:fRotZ = 0.0)
- GetPlayerObjectSyncRotation(playerid, objectid)
- GetPlayerObjectMaterial(playerid, objectid, materialindex, &modelid, txdname[], txdnamelen = sizeof(txdname), texturename[], texturenamelen = sizeof(texturename), &materialcolor = 0)
- GetPlayerObjectMaterialText(playerid, objectid, materialindex, text[], textlen = sizeof(text), &materialsize, fontface[], fontfacelen = sizeof(fontface), &fontsize = 0, &bold = 0, &fontcolor = 0, &backcolor = 0, &textalignment = 0)
- IsPlayerObjectNoCameraCol(playerid, objectid)
- GetPlayerSurfingPlayerObjectID(playerid)
- GetPlayerCameraTargetPlayerObj(playerid)
- GetObjectType(playerid, objectid)
- GetPlayerAttachedObject(playerid, index, &modelid, &bone = 0, &Float:fX = 0.0, &Float:fY = 0.0, &Float:fZ = 0.0, &Float:fRotX = 0.0, &Float:fRotY = 0.0, &Float:fRotZ = 0.0, &Float:fSacleX = 0.0, &Float:fScaleY = 0.0, &Float:fScaleZ = 0.0, &materialcolor1 = 0, &materialcolor2 = 0)
- SetPlayerAttachedObjForPlayer(forplayerid, attachtoplayerid, index, modelid, bone, Float:fOffsetX = 0.0, Float:OffsetY = 0.0, Float:fOffsetZ = 0.0, Float:fRotX = 0.0, Float:fRotY = 0.0, Float:fRotZ = 0.0, Float:fScaleX = 1.0, Float:fScaleY = 1.0, Float:fScaleZ = 1.0, materialcolor1 = 0, materialcolor2 = 0)
- GetPlayerAttachedObjForPlayer(forplayerid, attachtoplayerid, index, &modelid, &bone = 0, &Float:fX = 0.0, &Float:fY = 0.0, &Float:fZ = 0.0, &Float:fRotX = 0.0, &Float:fRotY = 0.0, &Float:fRotZ = 0.0, &Float:fSacleX = 0.0, &Float:fScaleY = 0.0, &Float:fScaleZ = 0.0, &materialcolor1 = 0, &materialcolor2 = 0)
- RemPlayerAttachedObjForPlayer(forplayerid, removefromplayerid, index)
- IsPlayerAttachedObjForPlayer(forplayerid, attachtoplayerid, index)
- AttachPlayerObjectToObject(playerid, objectid, attachtoid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ, SyncRotation = 1)
- ClearBanList()
- IsBanned(const ipaddress[])
- SetTimeoutTime(playerid, time_ms)
- GetLocalIP(index, localip[], len = sizeof(localip))
- SetExclusiveBroadcast(toggle)
- BroadcastToPlayer(playerid, toggle = 1)
- ToggleCloseConnectionFix(bool:toggle)
- GetVehicleSpawnInfo(vehicleid, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0, &Float:fRot = 0.0, &color1 = 0, &color2 = 0)
- SetVehicleSpawnInfo(vehicleid, modelid, Float:fX, Float:fY, Float:fZ, Float:fAngle, color1, color2, respawntime = -2, interior = -2)
- GetVehicleColor(vehicleid, &color1, &color2 = 0)
- GetVehiclePaintjob(vehicleid)
- GetVehicleInterior(vehicleid)
- GetVehicleNumberPlate(vehicleid, plate[], len = sizeof(plate))
- SetVehicleRespawnDelay(vehicleid, delay)
- GetVehicleRespawnDelay(vehicleid)
- SetVehicleOccupiedTick(vehicleid, ticks)
- SetVehicleRespawnTick(vehicleid, ticks)
- GetVehicleLastDriver(vehicleid)
- GetVehicleCab(vehicleid)
- HasVehicleBeenOccupied(vehicleid)
- SetVehicleBeenOccupied(vehicleid, bool:occupied)
- IsVehicleOccupied(vehicleid)
- IsVehicleDead(vehicleid)
- SetVehicleDead(vehicleid, bool:dead)
- SetVehicleParamsSirenState(vehicleid, sirenState)
- ToggleVehicleSirenEnabled(vehicleid, enabled)
- IsVehicleSirenEnabled(vehicleid)
- GetVehicleMatrix(vehicleid, &Float:rightX, &Float:rightY = 0.0, &Float:rightZ = 0.0, &Float:upX = 0.0, &Float:upY = 0.0, &Float:upZ = 0.0, &Float:atX = 0.0, &Float:atY = 0.0, &Float:atZ = 0.0)
- GetVehicleModelCount(modelid)
- GetVehicleModelsUsed()
- HideVehicle(vehicleid)
- ShowVehicle(vehicleid)
- IsVehicleHidden(vehicleid)
- IsValidGangZone(zoneid)
- IsPlayerInGangZone(playerid, zoneid)
- IsGangZoneVisibleForPlayer(playerid, zoneid)
- GangZoneGetColorForPlayer(playerid, zoneid)
- GangZoneGetFlashColorForPlayer(playerid, zoneid)
- IsGangZoneFlashingForPlayer(playerid, zoneid)
- GangZoneGetPos(zoneid, &Float:fMinX, &Float:fMinY = 0.0, &Float:fMaxX = 0.0, &Float:fMaxY = 0.0)
- CreatePlayerGangZone(playerid, Float:minx, Float:miny, Float:maxx, Float:maxy)
- PlayerGangZoneDestroy(playerid, zoneid)
- PlayerGangZoneShow(playerid, zoneid, color)
- PlayerGangZoneHide(playerid, zoneid)
- PlayerGangZoneFlash(playerid, zoneid, color)
- PlayerGangZoneStopFlash(playerid, zoneid)
- IsValidPlayerGangZone(playerid, zoneid)
- IsPlayerInPlayerGangZone(playerid, zoneid)
- IsPlayerGangZoneVisible(playerid, zoneid)
- PlayerGangZoneGetColor(playerid, zoneid)
- PlayerGangZoneGetFlashColor(playerid, zoneid)
- IsPlayerGangZoneFlashing(playerid, zoneid)
- PlayerGangZoneGetPos(playerid, zoneid, &Float:fMinX, &Float:fMinY = 0.0, &Float:fMaxX = 0.0, &Float:fMaxY = 0.0)
- IsValidTextDraw(Text:textdrawid)
- IsTextDrawVisibleForPlayer(playerid, Text:textdrawid)
- TextDrawGetString(Text:textdrawid, text[], len = sizeof(text))
- TextDrawGetLetterSize(Text:textdrawid, &Float:fX, &Float:fY = 0.0)
- TextDrawGetTextSize(Text:textdrawid, &Float:fX, &Float:fY = 0.0)
- TextDrawGetPos(Text:textdrawid, &Float:fX, &Float:fY = 0.0)
- TextDrawGetColor(Text:textdrawid)
- TextDrawGetBoxColor(Text:textdrawid)
- TextDrawGetBackgroundColor(Text:textdrawid)
- TextDrawGetShadow(Text:textdrawid)
- TextDrawGetOutline(Text:textdrawid)
- TextDrawGetFont(Text:textdrawid)
- TextDrawIsBox(Text:textdrawid)
- TextDrawIsProportional(Text:textdrawid)
- TextDrawIsSelectable(Text:textdrawid)
- TextDrawGetAlignment(Text:textdrawid)
- TextDrawGetPreviewModel(Text:textdrawid)
- TextDrawGetPreviewRot(Text:textdrawid, &Float:fRotX, &Float:fRotY = 0.0, &Float:fRotZ = 0.0, &Float:fZoom = 0.0)
- TextDrawGetPreviewVehCol(Text:textdrawid, &color1, &color2 = 0)
- TextDrawSetStringForPlayer(Text:textdrawid, playerid, const string[], {Float,_}:...)
- IsValidPlayerTextDraw(playerid, PlayerText:textdrawid)
- IsPlayerTextDrawVisible(playerid, PlayerText:textdrawid)
- PlayerTextDrawGetString(playerid, PlayerText:textdrawid, text[], len = sizeof(text))
- PlayerTextDrawSetPos(playerid, PlayerText:textdrawid, Float:fX, Float:fY)
- PlayerTextDrawGetLetterSize(playerid, PlayerText:textdrawid, &Float:fX, &Float:fY = 0.0)
- PlayerTextDrawGetTextSize(playerid, PlayerText:textdrawid, &Float:fX, &Float:fY = 0.0)
- PlayerTextDrawGetPos(playerid, PlayerText:textdrawid, &Float:fX, &Float:fY = 0.0)
- PlayerTextDrawGetColor(playerid, PlayerText:textdrawid)
- PlayerTextDrawGetBoxColor(playerid, PlayerText:textdrawid)
- PlayerTextDrawGetBackgroundCol(playerid, PlayerText:textdrawid)
- PlayerTextDrawGetShadow(playerid, PlayerText:textdrawid)
- PlayerTextDrawGetOutline(playerid, PlayerText:textdrawid)
- PlayerTextDrawGetFont(playerid, PlayerText:textdrawid)
- PlayerTextDrawIsBox(playerid, PlayerText:textdrawid)
- PlayerTextDrawIsProportional(playerid, PlayerText:textdrawid)
- PlayerTextDrawIsSelectable(playerid, PlayerText:textdrawid)
- PlayerTextDrawGetAlignment(playerid, PlayerText:textdrawid)
- PlayerTextDrawGetPreviewModel(playerid, PlayerText:textdrawid)
- PlayerTextDrawGetPreviewRot(playerid, PlayerText:textdrawid, &Float:fRotX, &Float:fRotY = 0.0, &Float:fRotZ = 0.0, &Float:fZoom = 0.0)
- PlayerTextDrawGetPreviewVehCol(playerid, PlayerText:textdrawid, &color1, &color2 = 0)
- IsValid3DTextLabel(Text3D:id)
- Is3DTextLabelStreamedIn(playerid, Text3D:id)
- Get3DTextLabelText(Text3D:id, text[], len = sizeof(text))
- Get3DTextLabelColor(Text3D:id)
- Get3DTextLabelPos(Text3D:id, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0)
- Float:Get3DTextLabelDrawDistance(Text3D:id)
- Get3DTextLabelLOS(Text3D:id)
- Get3DTextLabelVirtualWorld(Text3D:id)
- Get3DTextLabelAttachedData(Text3D:id, &attached_playerid, &attached_vehicleid = 0)
- IsValidPlayer3DTextLabel(playerid, PlayerText3D:id)
- GetPlayer3DTextLabelText(playerid, PlayerText3D:id, text[], len = sizeof(text))
- GetPlayer3DTextLabelColor(playerid, PlayerText3D:id)
- GetPlayer3DTextLabelPos(playerid, PlayerText3D:id, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0)
- Float:GetPlayer3DTextLabelDrawDist(playerid, PlayerText3D:id)
- GetPlayer3DTextLabelLOS(playerid, PlayerText3D:id)
- GetPlayer3DTextLabelVirtualW(playerid, PlayerText3D:id)
- GetPlayer3DTextLabelAttached(playerid, PlayerText3D:id, &attached_playerid, &attached_vehicleid = 0)
- IsMenuDisabled(Menu:menuid)
- IsMenuRowDisabled(Menu:menuid, row)
- GetMenuColumns(Menu:menuid)
- GetMenuItems(Menu:menuid, column)
- GetMenuPos(Menu:menuid, &Float:fX, &Float:fY = 0.0)
- GetMenuColumnWidth(Menu:menuid, &Float:fColumn1, &Float:fColumn2 = 0.0)
- GetMenuColumnHeader(Menu:menuid, column, header[], len = sizeof(header))
- GetMenuItem(Menu:menuid, column, itemid, item[], len = sizeof(item))
- IsValidPickup(pickupid)
- IsPickupStreamedIn(playerid, pickupid)
- GetPickupPos(pickupid, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0)
- GetPickupModel(pickupid)
- GetPickupType(pickupid)
- GetPickupVirtualWorld(pickupid)
- SetPickupPos(pickupid, Float:X, Float:Y, Float:Z, bool:update=true)
- SetPickupModel(pickupid, model, bool:update=true)
- SetPickupType(pickupid, type, bool:update=true)
- SetPickupVirtualWorld(pickupid, virtualworld)
- ShowPickupForPlayer(playerid, pickupid)
- HidePickupForPlayer(playerid, pickupid)
- SetPickupForPlayer(playerid, id, model, type, Float:X, Float:Y, Float:Z)
- CreatePlayerPickup(playerid, model, type, Float:X, Float:Y, Float:Z, virtualworld = 0)
- DestroyPlayerPickup(playerid, pickupid)
- IsValidPlayerPickup(playerid, pickupid)
- IsPlayerPickupStreamedIn(playerid, pickupid)
- GetPlayerPickupPos(playerid, pickupid, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0)
- GetPlayerPickupModel(playerid, pickupid)
- GetPlayerPickupType(playerid, pickupid)
- GetPlayerPickupVirtualWorld(playerid, pickupid)
- GetColCount()
- Float:GetColSphereRadius(modelid)
- GetColSphereOffset(modelid, &Float:fX, &Float:fY = 0.0, &Float:fZ = 0.0)
- SendClientMessagef(playerid, color, const message[], {Float,_}:...)
- SendClientMessageToAllf(color, const message[], {Float,_}:...)
- GameTextForPlayerf(playerid, displaytime, style, const message[], {Float,_}:...)
- GameTextForAllf(displaytime, style, const message[], {Float,_}:...)
- SendPlayerMessageToPlayerf(playerid, senderid, const message[], {Float,_}:...)
- SendPlayerMessageToAllf(senderid, const message[], {Float,_}:...)
- SendRconCommandf(const command[], {Float,_}:...)
- IsValidVehicle(vehicleid)
- Float:GetGravity()
- GetWeaponSlot(weaponid)
- SendRPC(playerid, RPC, {Float,_}:...);
- SendData(playerid, {Float,_}:...);
Not in the latest YSF include:
- SetPlayerSyncPosition(playerid, Float:x, Float:y, Float:z)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.