[FilterScript] Blood splatter from gunshots!
#21

Good job, keep it up
Reply
#22

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);
}

Reply
#23

Good Work!
Reply
#24

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.
Reply
#25

Awesome work Crayder, rep
Reply
#26

Awesome, it works!
Reply
#27

I'm using it.
Reply
#28

Awesome. I put this FS in my deathmatch minigames
Reply
#29

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?
Reply
#30

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.
Reply
#31

Good job my friend, rep+ for ya
Reply
#32

Good job
Reply
#33

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

Fixed.
Thanks dude
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)