Raised This Month: $32 Target: $400
 8% 

Trying ChatGPT


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AnimalMonster
Senior Member
Join Date: May 2020
Old 12-20-2022 , 05:24   Trying ChatGPT
Reply With Quote #1

For the last 3 hours i've been trying to get the AI to give me the right Pawn/AmxModX info... I've asked it about what the amxmodx.inc include forwards provide:
PHP Code:
I apologize for the confusionI provided you with a list of forwards that are not present in the code[LEFT][LEFT][/LEFT][/LEFTyou provided meThe list of forwards in the code you provided is as follows:

plugin_initCalled just after server activationGood place to initialize most of the pluginsuch as registering cvarscommands or forwardscreating data structures for later use, or generating and loading other required configurations.

plugin_pauseCalled just before the plugin is paused from execution.

plugin_unpauseCalled just after the plugin is unpaused.

server_changelevelCalled when the mod tries to change the mapThis is only called if the mod itself handles the map changeThe server command "changelevel"which is used by many pluginswill not trigger this forwardUnfortunatelythis means that in practice this forward can be unreliable and will not be called in many situations.

plugin_cfgCalled when all plugins went through plugin_initWhen this forward is calledmost plugins should have registered their cvars and commands already.

plugin_endCalled just before server deactivation and subsequent unloading of the pluginThe plugin is required to manually free Handles it has acquiredsuch as those from dynamic data structuresFailing to do that will result in the plugin and AMXX leaking memory.

plugin_logCalled when a message is about to be loggedMessage data and information can be retrieved using the read_logset of functions.

plugin_precacheThis forward allows plugins to add modelssounds and generic files to the precache tables using the precache_set of functionsAdding files to the precaching tables will trigger the client to download them to its local filesystemThere is a hard upper limit of entries in the precaching tables for every gamethis limit is 512 in most casesThe entries will be filled and indexed incrementallyGoing over this limit will crash the server.

client_authorizeCalled when a client is about to be authorized.

client_putinserverCalled when a client enters the game.

client_disconnectCalled when a client disconnects from the server.

server_activateCalled when the server is activated (when the first client connects).

server_deactivateCalled when the server is deactivated (when the last client disconnects).

server_frameCalled every server frame.

server_force_unmodifiedCalled when the server forces all files to be unmodified.

server_cvarCalled when a cvar is queried.

server_consoleCalled when a command is entered in the console.

server_queryCalled when the server is queried for information.

server_infoCalled when the server is queried for information.

server_settingsCalled when the server is queried for information.

server_varsCalled when the server is queried for information.

server_rulesCalled when the server is queried for information.

server_logCalled when a log message is about to be logged.

server_mem_usageCalled when the server is queried for information.

server_statsCalled when the 
AnimalMonster is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode