Quote:
Originally Posted by InteX01
Didnt know it can make errors like this
|
It's not obvious based on the name of the native, but is_user_alive() has a check for a valid player id range.
Code:
static cell AMX_NATIVE_CALL is_user_alive(AMX *amx, cell *params) /* 1 param */
{
int index = params[1];
if (index < 1 || index > gpGlobals->maxClients)
{
return 0;
}
...
You should have checking in place before calling vip_brzina(id) and svip_brzina(id)
__________________