detect player in water
#1

hi, i want detect player in any water i using this code in OnPlayerUpdate
PHP код:
    new FloatPosXFloatPosYFloatPosZ;
    
GetPlayerPos(playeridPosXPosYPosZ);
    if(
PosZ 0.0)
    {
        
SendClientMessage(playerid, -1"You are in the water");
    } 
but i need detect all water pirate ships and others, is it possible?
Reply


Messages In This Thread
detect player in water - by DeMoo - 20.02.2018, 17:08
Re: detect player in water - by Mugala - 20.02.2018, 17:12
Re: detect player in water - by RogueDrifter - 20.02.2018, 17:15
Re: detect player in water - by Pottus - 20.02.2018, 17:28
Re: detect player in water - by cuber - 20.02.2018, 17:37
Re: detect player in water - by DeMoo - 20.02.2018, 17:40
Re: detect player in water - by Battlezone - 20.02.2018, 17:46
Re: detect player in water - by RogueDrifter - 20.02.2018, 18:46
Re: detect player in water - by Mugala - 20.02.2018, 18:58
Re: detect player in water - by Dayrion - 20.02.2018, 19:45

Forum Jump:


Users browsing this thread: 1 Guest(s)