SA-MP Forums Archive
[FilterScript] Blood splatter from gunshots! - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Blood splatter from gunshots! (/showthread.php?tid=602407)

Pages: 1 2


Re: Blood splatter from gunshots! - markparker12 - 12.03.2016

Good job, keep it up


Re: Blood splatter from gunshots! - Unrea1 - 15.03.2016

hello...

Quote:

warning 208: function with tag result used before definition, forcing reparse
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

Quote:

stock Float:frandom(Float:max, Float:m2 = 0.0, dp = 3) // < warning.
{
new Float:mn = m2;
if(m2 > max) {
mn = max,
max = m2;
}
m2 = floatpower(10.0, dp);

return floatadd(floatdiv(float(random(floatround(floatmul (floatsub(max, mn), m2)))), m2), mn);
}




Re: Blood splatter from gunshots! - Ducati - 15.03.2016

Good Work!


Re: Blood splatter from gunshots! - Crayder - 15.03.2016

Quote:
Originally Posted by LatinZ
View Post
hello...
That shouldn't happen unless you modified it.

Basically what that means is since the function has a tag it has to be used AFTER it is declared unless you forward it before it is used. That's not the case with my FS unless you modified it.


Re: Blood splatter from gunshots! - N0FeaR - 20.03.2016

Awesome work Crayder, rep


Respuesta: Blood splatter from gunshots! - Whyd - 21.03.2016

Awesome, it works!


Re: Blood splatter from gunshots! - iKevin - 06.04.2016

I'm using it.


Re: Blood splatter from gunshots! - RogerCosta - 06.04.2016

Awesome. I put this FS in my deathmatch minigames


Re: Blood splatter from gunshots! - Greggu - 17.07.2016

Sorry for this massive necropost but i put this script in my test server today and despite working the players weren't taking damage from gunfire.

Did i do something wrong?


Re: Blood splatter from gunshots! - Crayder - 17.07.2016

Quote:
Originally Posted by Greggu
View Post
Sorry for this massive necropost but i put this script in my test server today and despite working the players weren't taking damage from gunfire.

Did i do something wrong?
Forgot to return apparently...

Fixed.


Re: Blood splatter from gunshots! - Ivan_Ino - 17.07.2016

Good job my friend, rep+ for ya


Re: Blood splatter from gunshots! - UltraScripter - 17.07.2016

Good job


Re: Blood splatter from gunshots! - Greggu - 17.07.2016

Quote:
Originally Posted by Crayder
View Post
Forgot to return apparently...

Fixed.
Thanks dude