sfcnr/gamemodes/irresistible
2018-12-22 22:13:57 +11:00
..
anticheat modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11:00
cnr move random hits into its own module 2018-12-22 22:13:57 +11:00
config move database schemas into migrations folder aka config/migrations/ 2018-12-12 21:38:35 +11:00
gta modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11:00
_blank.pwn modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11:00
_main.pwn add custom physics module to \irresistible\ 2018-12-12 22:51:49 +11: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 modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11: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 add custom physics module to \irresistible\ 2018-12-12 22:51:49 +11:00
README.md add christmas module (togglable... like ) 2018-12-22 21:26:52 +11:00
sampac.pwn modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11:00
security.pwn modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11:00
servervars.pwn modify header of script to use simple names/aliases 2018-12-12 19:21:57 +11:00

Irresistible Gaming Development Framework

Source Contributors: Lorenc ("Lorenc") Pekaj, Steven ("Stev") Howard

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

Script Callbacks

  • public SetPlayerRandomSpawn( playerid )
    • Called when a player is attempting to be respawned somewhere randomly
  • public OnServerUpdate( )
    • Called every second (or sooner) indefinitely
  • public 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
  • OnServerGameDayEnd( )
    • Called every 24 minutes 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
  • OnPlayerLogin( playerid, accountid )
    • 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...)