Help with IsPlayerInRangeOfPoint
#1

can someone help what the first number describes in IsPlayerInRangeOfPoint . For example



if(IsPlayerInRangeOfPoint(playerid, 30, 1696.5543,-1053.4685,23.9063)). Please help me
Reply
#2

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Reply
#3

That " 30 " is the range where some command or something will work .

Look here.
Reply
#4

what is Float:range and how to know float:range
Reply
#5

Float: range should be a decimal number( thats what the float means) like 7.0, or 8.56, or something like that.
You can't really know how much range you should put but try to think logical.

If you need to create some command like /enter to some unknown building. That command should work only in that small area for you to enter that building. So you should put something like 5.0 or 7.0. But if you want to create something what will have more range (I can't get any idea what command should that be, but you'll get the point) you should put range to something more. And of course you can always test it and see if it suits you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)