Update small includes for transitional syntax (#509)
This commit is contained in:
committed by
Nicholas Hastings
parent
d8835a426f
commit
7451257578
@@ -56,7 +56,7 @@
|
||||
* @note To see if all 11 params are available, use FeatureType_Capability and
|
||||
* FEATURECAP_PLAYERRUNCMD_11PARAMS.
|
||||
*/
|
||||
forward Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon, &subtype, &cmdnum, &tickcount, &seed, mouse[2]);
|
||||
forward Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3], float angles[3], int &weapon, int &subtype, int &cmdnum, int &tickcount, int &seed, int mouse[2]);
|
||||
|
||||
/**
|
||||
* @brief Called when a client requests a file from the server.
|
||||
@@ -66,7 +66,7 @@ forward Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:an
|
||||
*
|
||||
* @return Plugin_Handled to block the transfer, Plugin_Continue to let it proceed.
|
||||
*/
|
||||
forward Action:OnFileSend(client, const String:sFile[]);
|
||||
forward Action OnFileSend(int client, const char[] sFile);
|
||||
|
||||
/**
|
||||
* @brief Called when a client sends a file to the server.
|
||||
@@ -76,4 +76,4 @@ forward Action:OnFileSend(client, const String:sFile[]);
|
||||
*
|
||||
* @return Plugin_Handled to block the transfer, Plugin_Continue to let it proceed.
|
||||
*/
|
||||
forward Action:OnFileReceive(client, const String:sFile[]);
|
||||
forward Action OnFileReceive(int client, const char[] sFile);
|
||||
|
||||
Reference in New Issue
Block a user