#2

I suggest to use Incognito's streamer, it has a great area detection system.

pawn Код:
public OnPlayerEnterDynamicArea(playerid, areaid) // I think this is how it goes, I forgot ^^
{
    if(areaid == ADMIN_AREA)
    {
        if(IsPlayerAdmin(playerid)) // If he's admin
        {
            SendClientMessage(playerid, -1, "Welcom admin!");
        }
        else SendClientMessage(playerid, -1, "You have 5 seconds to get the fuck out!"), SetTimerEx("KillNoob", 5000, false, "i", playerid);
    }
    return 1;
}

forward KillNoob(playerid);
public KillNoob(playerid)
{
    return SetPlayerHealth(playerid, 0.0); // Or do whatever you want to that noob
}
Reply


Messages In This Thread
help - by Loading... - 03.07.2011, 20:18
Re: help - by [L3th4l] - 03.07.2011, 20:24
Re: help - by admantis - 03.07.2011, 20:25
Re: help - by Loading... - 03.07.2011, 20:33

Forum Jump:


Users browsing this thread: 1 Guest(s)