Help Me
#6

i couldn't really understand your code, but this is how I'd do it:

Under The defines
pawn Код:
forward Virt();
Under OnFilterScriptInit or OnGameModeInit
pawn Код:
public OnFilterScriptInit()
{
    SetTimer("Virt",2500,0);
    return 1;
}
Any Place on the script, except inside other callbacks.
pawn Код:
public Virt()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if (GetPlayerVirtualWorld(i)!=0)return BanEx(i,"Virtual World Cheats");
        }
    }
    return 1;
}
Reply


Messages In This Thread
Help Me - by GanG$Ta - 16.05.2009, 21:14
Re: Virtualworlds - by GanG$Ta - 17.05.2009, 08:19
Re: Help Me - by Think - 17.05.2009, 08:33
Re: Help Me - by GanG$Ta - 17.05.2009, 09:58
Re: Help Me - by GanG$Ta - 17.05.2009, 13:39
Re: Help Me - by Badger(new) - 17.05.2009, 14:03
Re: Help Me - by GanG$Ta - 17.05.2009, 14:14
Re: Help Me - by Badger(new) - 17.05.2009, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)