Area_AddBox problem
#1

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

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)