SA-MP Forums Archive
GetPlayerPos - 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: GetPlayerPos (/showthread.php?tid=124772)

Pages: 1 2


Re: GetPlayerPos - MenaceX^ - 31.01.2010

Quote:
Originally Posted by Fj0rtizFredde
pawn Код:
//OnGameModeInit:
SetTimer("IceCream",1000, 1);

//Outside any callback:

forward IceCream(playerid);
public IceCream(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1543.9264, -1675.6503, 13.5574))
{
SendClientMessage(playerid,0xFFFFFFFF,"Yeey IceCream!!");
}
return 1;
}
There you go A example of how to use it :P
What a stupid code...

Don't err people.


Re: GetPlayerPos - bartje01 - 31.01.2010

Quote:
Originally Posted by MenaceX^
Quote:
Originally Posted by Fj0rtizFredde
pawn Код:
//OnGameModeInit:
SetTimer("IceCream",1000, 1);

//Outside any callback:

forward IceCream(playerid);
public IceCream(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1543.9264, -1675.6503, 13.5574))
{



SendClientMessage(playerid,0xFFFFFFFF,"Yeey IceCream!!");
}
return 1;
}
There you go A example of how to use it :P
What a stupid code...

Don't err people.
Thankyou man. Close this thread please. I'm done with this now.

Thanks everyone for helpiong me


Re: GetPlayerPos - ray187 - 31.01.2010

Quote:
Originally Posted by MenaceX^
What a stupid code...

Don't err people.
What a stupid statement...