[Help]IsPlayerInWater for Vehicles?
#6

go to the water and type /save
then go to your file last line (savedpositions.txt) and get your 3rd coord
pawn Код:
public OnPlayerUpdate(playerid)
{
new Float:z;
GetPlayerPos(playerid, z,z,z);
if(z<=/* ur coord*/)
{
   SendClientMessage(playerid, -1, "your in water");
}
return 1;
}
i hope you understand i cant make it clearer..
Reply


Messages In This Thread
[Help]IsPlayerInWater for Vehicles? - by luis_mendoza - 01.12.2013, 17:23
Re: [Help]IsPlayerInWater for Vehicles? - by Pottus - 01.12.2013, 17:26
Re: [Help]IsPlayerInWater for Vehicles? - by whatthefuck123 - 01.12.2013, 17:27
Re: [Help]IsPlayerInWater for Vehicles? - by luis_mendoza - 01.12.2013, 17:31
Re: [Help]IsPlayerInWater for Vehicles? - by SilentSoul - 01.12.2013, 17:35
Re: [Help]IsPlayerInWater for Vehicles? - by whatthefuck123 - 01.12.2013, 17:39
Re: [Help]IsPlayerInWater for Vehicles? - by luis_mendoza - 01.12.2013, 17:57
Re: [Help]IsPlayerInWater for Vehicles? - by Konstantinos - 01.12.2013, 18:49
Re: [Help]IsPlayerInWater for Vehicles? - by whatthefuck123 - 01.12.2013, 23:31

Forum Jump:


Users browsing this thread: 1 Guest(s)