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