Skip to content
leHeix edited this page Aug 25, 2020 · 3 revisions

HomeCallbacks

  • OnPlayerEnterGangZone(playerid, zoneid)
  • OnPlayerLeaveGangZone(playerid, zoneid)
  • OnPlayerEnterPlayerGangZone(playerid, zoneid)
  • OnPlayerLeavePlayerGangZone(playerid, zoneid)
  • OnPlayerPauseStateChange(playerid, pausestate)
  • OnPlayerStatsAndWeaponsUpdate(playerid)
  • OnRemoteRCONPacket(const ipaddr[], port, const password[], success, const command[])
  • OnServerMessage(const msg[])
  • OnPlayerClientGameInit(playerid, &usecjwalk, &limitglobalchat, &Float:globalchatradius, &Float:nametagdistance, &disableenterexits, &nametaglos, &manualvehengineandlights, &spawnsavailable, &shownametags, &showplayermarkers, &onfoot_rate, &incar_rate, &weapon_rate, &lagcompmode, &vehiclefriendlyfire)
  • OnOutcomeScmEvent(playerid, issuerid, E_SCM_EVENT_TYPE:eventid, vehicleid, arg1, arg2)
  • OnServerQueryInfo(const ipaddr[], hostname[51], gamemode[31], language[31])
  • OnSystemCommandExecute(const line_output[], retval, index, success, line_current, line_total)

Notes

  • OnServerMessage being called olny when it's enabled by YSF_ToggleOnServerMessage