new makefile

This commit is contained in:
David Anderson
2004-08-22 12:41:00 +00:00
parent d966983354
commit ae01b71078
4 changed files with 8 additions and 6 deletions

View File

@ -192,6 +192,7 @@ static cell AMX_NATIVE_CALL give_item(AMX *amx, cell *params) // native give_ite
// Check index.
if (params[1] < 1 || params[1] > gpGlobals->maxClients)
{
MF_Log("Failed at first check. Param: %d", params[1]);
MF_RaiseAmxError(amx, AMX_ERR_NATIVE);
return 0;
}
@ -201,6 +202,7 @@ static cell AMX_NATIVE_CALL give_item(AMX *amx, cell *params) // native give_ite
// Check entity validity
if (FNullEnt(pPlayer)) {
MF_Log("Failed at second check. Param: %p", pPlayer);
MF_RaiseAmxError(amx, AMX_ERR_NATIVE);
return 0;
}
@ -912,4 +914,4 @@ void ClientConnectFakeBot(int index)
//MF_Log("A bot connects, forwarded to fun! The bot is %d!", index);
//CPlayer* player;
}
*/
*/