added request amb369, part 1

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40932
This commit is contained in:
David Anderson
2007-06-08 04:40:40 +00:00
parent 7b9b90e2a2
commit 48830e2c16
3 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -310,7 +310,7 @@ native Call_PushStringEx(String:value[], length, szflags, cpflags);
* @return SP_ERROR_NONE on success, any other integer on failure.
* @error Called before a call has been started.
*/
native Call_Finish(&result);
native Call_Finish(&result=0);
/**
* Cancels a call to a function or forward's call list.
+9
View File
@@ -18,6 +18,15 @@
#endif
#define _helpers_included
/**
* Provided by basecommands.sp when sm_ban is called.
*
* @param admin Admin client index.
* @param client Client index which will be banned.
* @param reason Ban reason (may be empty if none exists).
*/
forward OnClientBanned(admin, client, const String:reason[]);
/**
* Formats a user's info as log text.
*