Isn't there a?
#1

Isn't there a IsPlayerOnWater? xD Because I've created a fishing FS
and of course the player can't fish without a boat, but whenever a player
spawns one, even on land, he can fish... So, how can I make it on water only?
Reply
#2

Jump in the water and get the Z coordinate,
Reply
#3

no because if you are in the cave ? you are in water for the server <.<
Reply
#4

Quote:
Originally Posted by [ZDM
jumbo ]
no because if you are in the cave ? you are in water for the server <.<
What cave?

All the water in SA is about the same level
Reply
#5

hunter quarry - bone country
Reply
#6

Quote:
Originally Posted by Joe Torran C
Jump in the water and get the Z coordinate,
Okay, I get what your saying, but how?
Reply
#7

Use IsPlayerInArea or somin.
Reply
#8

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Quote:
Originally Posted by Joe Torran C
Jump in the water and get the Z coordinate,
Okay, I get what your saying, but how?
Goto LS Pier, Jump in the water like your commiting suicide, Type /save while your in the water, And then goto GTA San Andreas dir and open savedpositions.txt, In there you will see your thing with the Z coord, Add 1 onto that Z coordinate and that should be enough
Reply
#9

Quote:
Originally Posted by Joe Torran C
Quote:
Originally Posted by ViruZZzZ_ChiLLL
Quote:
Originally Posted by Joe Torran C
Jump in the water and get the Z coordinate,
Okay, I get what your saying, but how?
Goto LS Pier, Jump in the water like your commiting suicide, Type /save while your in the water, And then goto GTA San Andreas dir and open savedpositions.txt, In there you will see your thing with the Z coord, Add 1 onto that Z coordinate and that should be enough
No, I mean, how can I script it? IsPlayerInRangeOfPoint?? Or something??
Reply
#10

GetPlayerPos(playerid, x, y, z);

if(z == LEVELOFWATER)
{
whatever
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)