SA-MP Forums Archive
Area_AddBox problem - 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)
+--- Thread: Area_AddBox problem (/showthread.php?tid=342033)



Area_AddBox problem - newbienoob - 12.05.2012

pawn Код:
new lsarea; // At the top of my script
lsarea = Area_AddBox(2972.1831,-2872.5325,84.2990,-817.1016); // Under OnGameModeInit

new gang = GetPlayerTeam(playerid); //Under OnPlayerEnterArea
if(areaid == lsarea && gang == Las_Venturas_Gang_Members && gang == San_Fierro_Gang_Members)
{
       SendClientMessage(playerid,0xFF0000FF,"[WARNING]You have entered Los Santos Area");
}
The message is not sent to anyone. And here's how I get the coords for Area_AddBox