SA-MP Forums Archive
[Include] [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - 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)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED (/showthread.php?tid=134226)

Pages: 1 2 3


Re: [INC]Spring Guns - Mounted Miniguns - Lejo - 16.03.2010

Quote:
Originally Posted by Kurence
create invisible eplosion under ground as sound of shooting
Or smallest explosion on it as firing :P
That would sound nothing like a minigun being fired. Have you ever heard one before?


Re: [INC]Spring Guns - Mounted Miniguns - Kurence - 16.03.2010

Quote:
Originally Posted by Shakur_
Quote:
Originally Posted by Kurence
create invisible eplosion under ground as sound of shooting
Or smallest explosion on it as firing :P
That would sound nothing like a minigun being fired. Have you ever heard one before?
Do you know something better? :P


Re: [INC]Spring Guns - Mounted Miniguns - @TheShadow@ - 16.03.2010

Quote:
Originally Posted by Chivits
Quote:
Originally Posted by Tenshi ™
just put it on a FS to test this feature, and this is what i come up with:
Код:
~\include\a_miniguns.inc(62) : error 017: undefined symbol "PlayerToPoint"
~\include\a_miniguns.inc(72) : warning 213: tag mismatch
~\include\a_miniguns.inc(75) : error 017: undefined symbol "GetAngleToXY"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Fixes?
Fixes? І
ok sorry i'll upload fixed version in a minute had the functions in my gamemode ^^

FIXED

But! The GetAngleToXY Function was in there... (i forgot about playertopoint ^^)

if it's still not working (but it should), here's the function:
pawn Код:
stock GetAngleToXY(Float:X, Float:Y, Float:CurrentX, Float:CurrentY, &Float:Angle)
{
  Angle = atan2(Y-CurrentY, X-CurrentX);
  Angle = floatsub(Angle, 90.0);
  if(Angle < 0.0) Angle = floatadd(Angle, 360.0);
}
oh and thx for all your comments =)


Re: [INC]Spring Guns - Mounted Miniguns - biltong - 16.03.2010

Awesome! In the next version can ou make it fire only at a certain team? And also an I change the damage it deals, and it's range?


Re: [INC]Spring Guns - Mounted Miniguns - @TheShadow@ - 16.03.2010

range and damage is changeable
look at the CreateMinigun Function.
But i'll include a function to change it later like SetMinigunDamage & SetMinigunRange.


Re: [INC]Spring Guns - Mounted Miniguns - [KMA]Lord_Deji - 17.03.2010

Quote:
Originally Posted by † мąүқоҳ™
Let's play Call Of Duty Modern Warfare 2 SAMP, Verrrryy good work. Useful for TDM and maybe freeroam
lol, that would be a very good idea for a new gm, it could be use as a killstreak


Re: [INC]Spring Guns - Mounted Miniguns - Thrarod - 17.03.2010

Hmm... It would be cool if there was small explosions in fron of the MG


Re: [INC]Spring Guns - Mounted Miniguns - Correlli - 17.03.2010

Not bad. =)


Re: [INC]Spring Guns - Mounted Miniguns - @TheShadow@ - 17.03.2010

Quote:
Originally Posted by Thrarod
Hmm... It would be cool if there was small explosions in fron of the MG
Quote:
Originally Posted by V1ceC1ty
Quote:
Originally Posted by Kurence
create invisible eplosion under ground as sound of shooting
Or smallest explosion on it as firing :P
The smallest explosion is still too big.
Already answered






Re: [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - Chrisspartan - 21.05.2010

Cool script,thanks!


Re: [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - biltong - 07.06.2010

Quote:
Originally Posted by knight01
I DONT KNOW HOW TO DO THIS PLEASE EXPLAIN MORE!!!! GOD DO I HAVE TO USE CAPS TO GET UR DAMN ATTION
Well, since your first post was
Quote:
Originally Posted by knight01
I,m cunfused with this please help
That doesn't describe ANYTHING about what you're confused about.
I personally hope he doesn't answer you for your attitude, tell us what you need help with politely and maybe, just maybe you'll get a helpful answer.


Re: [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - cuvip - 11.06.2010

well, i don't know a damn thing about scripting, can someone help me out?


Re: [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - DJDhan - 11.06.2010

WOW at last, but wonder if it was actually shooting at us when we are near it. Sigh, nvm You did a great job and I am gonna use this.

Although, I'd like for you to have commands for the creation of miniguns in-game near the player's position.


Re: [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - @TheShadow@ - 17.06.2010

Quote:
Originally Posted by DJDhan
WOW at last, but wonder if it was actually shooting at us when we are near it. Sigh, nvm You did a great job and I am gonna use this.

Although, I'd like for you to have commands for the creation of miniguns in-game near the player's position.
*cough* it's there *cough*


Re: [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - cyber01 - 17.06.2010

How to adapt this script for 0.2x?
Replacement IsPlayerInRangeOfPoint on PlayerToPoint not help. Minigun appears but does not react to my presence. Can detailed instructions on how to run the 0.2x and correctly create Minigun?


Re: [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - billiout - 30.07.2010

how i can make not effective on classe with gteam? i use the previous solution chivits but says error 017: undefined symbol "gTeam". pls help!!!


Re: [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - billiout - 31.07.2010

also i have another problem. when i load your include i cant spawn.i press the spawn and the im going on class selection again.


Re: [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - Ace_Menace - 31.07.2010

Haha, Awesome!


Re: [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - WillyP - 09.08.2010

hmm

i do exactly what you say to put them into youre gm, but i get a error sayin tht OnMinigunInit is already defined; when theres only one OnMinigunInit in my whole gm :/


Re: [INC]Spring Guns - Mounted Miniguns v. 1.1 - BUGS FIXED - sergio_xd - 09.08.2010

They can shoot? In the video does not show that ¬ ¬