Die when you in the water
#1

Anyone know how to make when you enter in the water to die?
This will help me a lot
Thanks.
Reply
#2

You can use this include : http://forum.sa-mp.com/showthread.ph...PlayerSwimming
and
Код:
SetPlayerHealth(playerid,0);
Reply
#3

hmm something else?
Reply
#4

Quote:
Originally Posted by KickInTheMick
Посмотреть сообщение
hmm something else?
Why don't you use this?
It's simple just read.
Reply
#5

@DeMoX has right, just use the include and it makes your script easier.

pawn Код:
public OnPlayerStartSwimming(playerid)
{
    SetPlayerHealth(playerid, 0.0);
}
Reply
#6

Hahaha it won't work cuz when players are more then 100 it will immediatly lag the server I was searching for the anim and created my own stock, now it works.

Thanks you tried to help me.
Reply
#7

How would it lag the server?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)