23.11.2013, 18:07
Bom queria saber se essas coordenadas estгo corretas
pawn Код:
stock IsPlayerInFavela(playerid)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if(x >= 2031.5837 && y >= -944.6428 && x <= 2236.0325 && y <= -967.2399) return 1;
else return 0;
}
AddPlayerClass(285,2031.5837,-944.6428,46.9143,70.6536,0,0,0,0,0,0); // esquedo baixo
AddPlayerClass(285,2236.0325,-1063.3468,62.1875,235.0894,0,0,0,0,0,0); // direito cima
OBS CRIAЗГO GZ FAVELA