SA-MP Forums Archive
Does this fution works? - 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: Does this fution works? (/showthread.php?tid=85919)



Does this fution works? - Battlaman - 10.07.2009

Hello, Why doesn't work this?

Quote:

if(PlayerToPoint(10.0,playerid,363.7006,173.4549,1 008.382)
{
else
}
if(PlayerToPoint(10.0,playerid,363.7006,173.4549,1 008.382)

I want to make a command that only can use at 2 places


Who can help me? :P


Re: Does this fution works? - BMUK - 10.07.2009

what doesnt work? the function? the command?

More details

But both of your if(*)'s are the same

Код:
if(PlayerToPoint(10.0,playerid,363.7006,173.4549,1008.3828))
{
  // Do something. he is in the area
}