i'ts not work good
#4

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
Code looks fine, nothing wrong with it (except IsPlayerInArea function but that is custom so its probably fine)

Please how us IsPlayerInArea function (how its defined). And file format how you save that coordinates (what each one is representing)
IsPlayerInArea(playerid, Float:MinX, Float:MinY, Float:MinZ,Float:MaxX, Float:MaxY,Float:MaxZ)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
return (X >= MinX && X <= MaxX && Y >= MinY && Y <= MaxY && Z >= MinZ && Z <= MaxZ) ? 1 : 0;
}


i'ts fine, umm the problem it's , The first line identifies the area well, and the rest is not accurate..
Reply


Messages In This Thread
i'ts not work good - by _Application_ - 23.05.2016, 16:08
Re: i'ts not work good... =/ help please! - by Sithis - 23.05.2016, 17:01
Re: i'ts not work good... =/ help please! - by DRIFT_HUNTER - 23.05.2016, 17:12
Re: i'ts not work good... =/ help please! - by _Application_ - 23.05.2016, 18:28
Re: i'ts not work good... =/ help please! - by AdrianG - 23.05.2016, 21:39
Re: i'ts not work good... =/ help please! - by _Application_ - 24.05.2016, 13:40
Re: i'ts not work good... =/ help please! - by JasperM - 24.05.2016, 14:32
Re: i'ts not work good... =/ help please! - by _Application_ - 25.05.2016, 06:51

Forum Jump:


Users browsing this thread: 1 Guest(s)