[HELP]3 Warning.
#1

Removed
Reply
#2

PHP код:
if(IsPlayerInRangeOfPoint(Id of a Player,Maximum Range between Point and Player,Float1,Float2,Float3)) 
Reply
#3

Код:
		if(IsPlayerInRangeOfPoint(playerid, DISTACE, X,Y,Z)) return 1;
Change X Y Z and DIASTANCE.

Here is a possibility but I don't know what is your variable in your enum:

if(IsPlayerInRangeOfPoint(playerid, 2, BusinessInfo[b][bposX],BusinessInfo[b][bPosY],BusinessInfo[b][bPoxZ])) return 1;

Don't forget to change bposX, bposY, bposZ for the good variable in your enum.

Edit: Damn you Marcel You answered before.
Reply
#4

Removed
Reply
#5

You can make it 1 to 5 or more. It'is near enought.

Edit: Oh misunderstood your question, wait a sec.

Edit2: You cant look if he's near an interior, but you can check if he is near the exit. Check the players virtual world, if it's the same as you biz one, then you can get him out.
Reply
#6

Removed
Reply
#7

1-5 range I think
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)