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
#2

Can you see the circle ?

This forum requires that you wait 120 seconds between posts. Please try again in 34 seconds.BULLSHIT!
Reply
#3

Quote:
Originally Posted by Elka_Blazer
Посмотреть сообщение
Can you see the circle ?

This forum requires that you wait 120 seconds between posts. Please try again in 34 seconds.BULLSHIT!
Well, its an area, when you enter it, i want a client message to be sent, which doesnt work
Reply
#4

Bump (12 hours +)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)