03.10.2017, 04:14
PHP Code:
public OnPlayerUpdate(playerid){
new Float: PosX, Float: PosY, Float: PosZ;
GetPlayerPos(playerid, PosX, PosY, PosZ);
if(PosZ < 0.0){
SendClientMessage(playerid, -1, "You are in the water");
//Your Code.
}
return 1;
}