Range, HELP!
#1

Im using command

if(GetPlayerInterior(playerid)==10 && IsPlayerInRangeOfPoint(playerid,range,x,y,z)) {

if(GetPlayerInterior(playerid)==10 && IsPlayerInRangeOfPoint(playerid,,-1398.065307,-217.028900,1051.115844)) {

How can I know what is the range? (the position is a position of an interior.)


Regards,
Assyria
Reply
#2

Use the range you like, like 10.0 - this means that the code will execute if player is in range of 10 (meters).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)