Player check
#4

I made it by myself for seconds and I think it will work!
Here is it (on the top of your script):
PHP Code:
boolIsPlayerInWater(playerid)
{
    new 
FloatpPosition[3];
    
GetPlayerPos(playeridpPosition[0], pPosition[1], pPosition[2]);
    if(
IsPlayerInRangeOfPoint(playerid10000pPosition[0], pPosition[1], 1-10000))
    {
        return 
true;
    }
    return 
false;

Reply


Messages In This Thread
Player check - by Rubennatan - 07.01.2019, 00:22
Re: Player check - by rockys - 07.01.2019, 01:12
Re: Player check - by ch1ps - 07.01.2019, 07:58
Re: Player check - by Kraeror - 07.01.2019, 10:12

Forum Jump:


Users browsing this thread: 1 Guest(s)