sfcnr/gamemodes/irresistible
2023-12-29 02:47:25 +03:00
..
anticheat reset money don't need to give money back 2020-05-28 04:41:30 +07:00
cnr small changes 2023-12-29 02:47:25 +03:00
config Support 2 rcon users 2021-01-14 01:06:23 +07:00
gta place constants where fit on functions 2018-12-23 17:26:46 +11:00
_blank.pwn modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11:00
_main.pwn make it running 2023-12-29 01:48:17 +03:00
analytics.pwn modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11:00
attachments.pwn moved gamemode modules into gamemodes/irresistible ... updated git ignore 2018-09-10 02:01:29 +10:00
floodcontrol.pwn moved gamemode modules into gamemodes/irresistible ... updated git ignore 2018-09-10 02:01:29 +10:00
helpers.pwn increase house list text for spawn 2019-04-09 01:12:58 -04:00
lookup.pwn modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11:00
mailer.pwn moved gamemode modules into gamemodes/irresistible ... updated git ignore 2018-09-10 02:01:29 +10:00
physics_dynamic.pwn make it running 2023-12-29 01:48:17 +03:00
README.md README 'fix' 2019-06-27 22:02:58 +02:00
sampac.pwn modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11:00
security.pwn random reload ban issue resolve 2019-02-17 19:49:10 +11:00
servervars.pwn fix issue with donation goal percentage not loading 2019-02-23 19:11:33 +11:00

Irresistible Gaming Development Framework

Source Contributors: Lorenc, Stev, Damen

BIG THANKS to Stev, Nibble, Banging7Grams, Kova, Queen and Panther for making this possible.

Custom Script Callbacks

  • SetPlayerRandomSpawn( playerid )
    • Called when a player is attempting to be respawned somewhere randomly
  • OnServerUpdate( )
    • Called every second (or sooner) indefinitely
  • OnServerTickSecond( )
    • Called every second (specifically) indefinitely
  • OnPlayerUpdateEx( playerid )
    • Same interval as OnServerUpdate, but it is called indefinitely for every player in-game
    • When you wish to update something frequently, but not use OnPlayerUpdate
  • OnPlayerTickSecond( playerid )
    • Called every second (specifically a second) for a player, indefinitely
  • OnServerGameDayEnd( )
    • Called every 24 hours in-game (basically when a new day starts)
  • OnNpcConnect( npcid )
    • Called specifically when an NPC connects, as OnPlayerConnect will not
  • OnNpcDisconnect( npcid, reason )
    • Called specifically when an NPC disconnects, as OnPlayerDisconnect will not
  • OnPlayerDriveVehicle( playerid, vehicleid )
    • Called when a player enters a vehicle as a driver
  • OnPlayerPassedBanCheck( playerid )
    • Called when a player passes a ban check (done before authenticating)
  • OnPlayerRegister( playerid )
    • Called when a player successfully registers an account
  • OnPlayerLogin( playerid )
    • Called when a player successfully logs into their account
  • OnHouseOwnerChange( houseid, ownerid )
    • Called when the ownership of a home is changed
  • OnPlayerFirstSpawn( playerid )
    • Called when a player spawns for the first time
  • OnPlayerMovieMode( playerid, toggled )
    • Called when player toggles movie mode
  • OnPlayerAccessEntrance( playerid, entranceid )
    • Called when a player accesses an entrance id
  • OnPlayerEndModelPreview( playerid, handleid )
    • Called when a player closes a model preview
  • OnGangLoad( gangid )
    • Called when a gang is loaded
  • OnGangUnload( gangid, bool: deleted )
    • Called when a gang is unloaded (or deleted)
  • OnPlayerJoinGang( playerid, gangid )
    • Called when a player joins a gang
  • OnPlayerLeaveGang( playerid, gangid, reason )
    • Called when a player leaves a gang
  • OnPlayerEnterHouse( playerid, houseid )
    • Called when a player enters a house
  • OnPlayerAttemptBreakIn( playerid, houseid, businessid )
    • Called when a player attempts to break into a business/house
  • OnPlayerLoadTextdraws( playerid )
    • Called when a player is loading textdraws
  • OnPlayerUnloadTextdraws( playerid )
    • Called when a player is unloading textdraws (on death, request class...)
  • OnPlayerC4Blown( playerid, Float: X, Float: Y, Float: Z, worldid )
    • Called when a player C4 is blown
  • OnPlayerJailed( playerid )
    • Called when a player is jailed
  • OnPlayerUnjailed( playerid, reasonid )
    • Called when a player is unjailed for a reason id
  • OnPlayerArrested( playerid, victimid, totalarrests, totalpeople )
    • Called when a player is arrested
  • OnPlayerMoneyChanged( playerid, amount )
    • Called when a player's money is changed
  • OnServerVariablesLoaded( )
    • Called when server variables are fully loaded