AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Native? (https://forums.alliedmods.net/showthread.php?t=232340)

ironskillz1 12-29-2013 08:17

Native?
 
Okay so i got this native in a vip menu
Code:

new bool:isUserVIP[33]

public plugin_natives()
        register_native("is_user_vip", "_vip_check")

public _vip_check(iPlugin, iParams)
        return isUserVIP[get_param(1)]

It only work if i use it like this in another plugin

Code:

if(is_user_vip(id))
And if i use it like this it doesnt work
Code:

if(!is_user_vip(id))

I would be very happy if anyone know whats wrong becuse i realy need it to work :/


All times are GMT -4. The time now is 10:07.

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