Area issue - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Area issue (
/showthread.php?tid=257668)
Area issue -
sim_sima - 27.05.2011
Hey guys. Can someone tell me why this doesnt work? (Using Incognito's streamer plugin)
At top of the script:
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.
Re: Area issue -
Elka_Blazer - 27.05.2011
Can you see the circle ?
This forum requires that you wait 120 seconds between posts. Please try again in 34 seconds.BULLSHIT!
Re: Area issue -
sim_sima - 27.05.2011
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
Re: Area issue -
sim_sima - 28.05.2011
Bump (12 hours +)