2 simple questions - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 2 simple questions (
/showthread.php?tid=455538)
2 simple questions -
Necip - 02.08.2013
Hello there. The first question is: Which is the dive animation? I mean when you dive under water?
Second: How can I make a loop for setting the health always to the old one?
Re: 2 simple questions -
antonio112 - 02.08.2013
Quote:
Originally Posted by Necip
Hello there. The first question is: Which is the dive animation? I mean when you dive under water?
Second: How can I make a loop for setting the health always to the old one?
|
First question: Sorry, can't help you here, I don't know animations ...
Second question: Detail more please, I can't really understand what do you mean by "always to be the old one"...
Re: 2 simple questions -
ThaCrypte - 02.08.2013
First question: i have the swimming animation, if you want: ApplyAnimation(playerid,"SWIM","SWIM_crawl",6.1,1, 1,1,1,0,1);
Second: what the guy above me said
Re: 2 simple questions -
Necip - 02.08.2013
LOL
Alright, what I want is a loop for just setting a player's health to 100 when he is under water. I don't know how to make loops so...
Re: 2 simple questions -
Necip - 02.08.2013
Bump, need a function for loop...
Re: 2 simple questions -
Edix - 02.08.2013
You need to make a timer and set the health to 100 inside the timer