Area issue
#1

Hey guys. Can someone tell me why this doesnt work? (Using Incognito's streamer plugin)
At top of the script:
pawn Код:
new InJobcentre;
and in the OnGameModeInit callback:
pawn Код:
InJobcentre = CreateDynamicCircle(1721.6215,-1652.6127,20.0625, 5, -1, -1);
and here the streamer callback:
pawn Код:
public OnPlayerEnterDynamicArea(playerid, areaid)
{
    if(areaid == InJobcentre)
    {
        SendClientMessage(playerid, COLOR_YELLOW, "( ! ) Welcome to the Job Centre");
        SendClientMessage(playerid, COLOR_NORMALRED, "( ! ) Fighting is Forbidden Here");
    }
    return 1;
}
Thanks.
Reply


Messages In This Thread
Area issue - by sim_sima - 27.05.2011, 10:40
Re: Area issue - by Elka_Blazer - 27.05.2011, 10:55
Re: Area issue - by sim_sima - 27.05.2011, 13:27
Re: Area issue - by sim_sima - 28.05.2011, 15:07

Forum Jump:


Users browsing this thread: 1 Guest(s)