Another probably silly question..
#1

Hello again,

I was wondering if there is anyway to have someone under water, but not lose health, and still be able to walk as if they are not underwater and on normal land? Is there anyway I can use MTA map editor to put something like a dome on the bottom to block the water? I remember a stunt server I was on where you could drive underwater perfectly normal, just wondering if I could replicate it in a similar way.

Let me know,

J.



Edit, very tired. Think I got all the grammar errors.
Reply
#2

You wan't to walk/run/drive and other under water? just go to water and then type this:

pawn Код:
CMD:underwater(playerid, params[])
{
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
    SetPlayerPos(playerid, X, Y, Z-10.0);
    return true;
}
Reply
#3

Thats not hard just enter the water in any way just not through the surface, aka just teleport him underwhile while he was on land
Reply
#4

Worked! Thanks guys.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)