SA-MP Forums Archive
[FilterScript] Deer Hunting ! - 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] Deer Hunting ! (/showthread.php?tid=402170)

Pages: 1 2 3


Re: Deer Hunting ! - Dinnozor - 04.01.2013

If you have followed the important notes (about the Streamer, the MapAndreas Include), and put everything in the right function of your script (what is in OnPlayerUpdate, in OnPlayerUpdate, etc...), it should work...
Although, I am not used to release "Filterscripts" and/or I might have forgotten something in the Pastebin, so please tell me what are those errors ? (screens or log of the compile)


Re: Deer Hunting ! - Zuriev - 04.01.2013

Epic! I love the idea!


Re: Deer Hunting ! - Da' J' - 04.01.2013

Quote:
Originally Posted by Dinnozor
Посмотреть сообщение
If you have followed the important notes (about the Streamer, the MapAndreas Include), and put everything in the right function of your script (what is in OnPlayerUpdate, in OnPlayerUpdate, etc...), it should work...
Although, I am not used to release "Filterscripts" and/or I might have forgotten something in the Pastebin, so please tell me what are those errors ? (screens or log of the compile)
Код:
hunt.pwn(319) : error 017: undefined symbol "AngleD" <-- It throws an error also for lines 325, 331, 337, 343, 349, 355
hunt.pwn(386) : error 017: undefined symbol "GetVehicleCategory"
hunt.pwn(458) : error 017: undefined symbol "Angle" <-- Also for lines 459, 464, 465
Also gave a bunch of warnings and simple errors, which I can easily edit and fix myself. But I really didnt get those ^


Re: Deer Hunting ! - Dinnozor - 04.01.2013

OOps yeah my bad, sorry about that

http://pastebin.com/T0gFmLgh

That should work. Thanks for reporting this and don't hesitate to do it again if there is still this kind of problems !


Re: Deer Hunting ! - Alex47 - 04.01.2013

Very nice


Re: Deer Hunting ! - Da' J' - 04.01.2013

Quote:
Originally Posted by Dinnozor
Посмотреть сообщение
OOps yeah my bad, sorry about that

http://pastebin.com/T0gFmLgh

That should work. Thanks for reporting this and don't hesitate to do it again if there is still this kind of problems !
Will do, actually right away lol. :P

Код:
hunt.pwn(462) : error 021: symbol already defined: "GetPointZPos"
hunt.pwn(1143) : error 025: function heading differs from prototype
I tried to get them work.. D;


Btw, just wondering, what are these for?
Код:
hunt.pwn(749) : warning 203: symbol is never used: "weapon"
hunt.pwn(749) : warning 203: symbol is never used: "newammo"
hunt.pwn(749) : warning 203: symbol is never used: "oldammo"
hunt.pwn(917) : warning 203: symbol is never used: "Y2"
hunt.pwn(917) : warning 203: symbol is never used: "X2"
hunt.pwn(917) : warning 203: symbol is never used: "coef"
Ik they're just warnings, but they seem to be pretty interesting symbols... So, maybe I could use them somehow, to get the freaking warnings off as well? >.>


EDIT: Fix for error 25: public OnPlayerVehicleDamage(playerid,vehicleid,Floatamage) - Thanks for Y-Less' post somewhere :P

EDIT2: Fix for error 21: I removed #include <MapAndreas> lol.


Re: Deer Hunting ! - Dinnozor - 04.01.2013

Yeah just saw about the OnPlayerVehicleDamage Just the "damage" must be "Damage" !

About the GetPointZPos stuff, it seems it is already defined in your script (maybe you have put the whole MapAndreas include, not only the .hmap file). So remove the "GetPointZPos" part (the whole stock).

If that works I will put the final working pastebin xD Thanks for your help anyway !

Edit: Link for fix : http://pastebin.com/T7AyH6sQ

Thanks again for your help mate


Re: Deer Hunting ! - changeME - 05.01.2013

very well man i need it


Re: Deer Hunting ! - jamesmercer1947 - 05.01.2013

TEM/TEM to this FS.
REALY unique..
I am adding this in my srver REIGHT NOW.
+rep..
Thank you for this awesome script..


Re: Deer Hunting ! - AlexSkyrise - 05.01.2013

@Dinnozor
Sucks!
learn scripting before scripting!


Re: Deer Hunting ! - Pro4hock - 05.01.2013

Amazing! that looks really cool!


Re: Deer Hunting ! - Da' J' - 06.01.2013

Now everything works perfecty, except.. Why my deers won't go sideways as yours? D:


Re: Deer Hunting ! - Dinnozor - 07.01.2013

You mean they don't lay on their side ?.. Sometimes they're just not as fast as in the video to lay down, it depends on their orientation... Although, if you want them to get faster on the ground, just change the movement speed at line 628 in the MoveDynamicObject (by default it is 0.4).

And then again, thanks to all of you for the feedback, comments and interest !


Re: Deer Hunting ! - Voldemortt - 07.01.2013

Good job! REP+


Re: Deer Hunting ! - riodespain - 26.06.2013

Please help. Script works, but the deer did not die.


Re: Deer Hunting ! - dEcooR - 27.06.2013

loool nicee


Re: Deer Hunting ! - VodkaS - 27.06.2013

nicee


Re: Deer Hunting ! - kokoshkata - 27.06.2013

This is fuckin' epic for RP servers, keep up the good work mate!


Re: Deer Hunting ! - denom - 28.06.2013

Код:
C:\Users\Administrator\Desktop\gamemode\filterscripts\deer.pwn(605) : warning 203: symbol is never used: "weapon"
C:\Users\Administrator\Desktop\gamemode\filterscripts\deer.pwn(605) : warning 203: symbol is never used: "newammo"
C:\Users\Administrator\Desktop\gamemode\filterscripts\deer.pwn(605) : warning 203: symbol is never used: "oldammo"
C:\Users\Administrator\Desktop\gamemode\filterscripts\deer.pwn(677) : error 017: undefined symbol "COLOR_RED"
C:\Users\Administrator\Desktop\gamemode\filterscripts\deer.pwn(773) : warning 203: symbol is never used: "Y2"
C:\Users\Administrator\Desktop\gamemode\filterscripts\deer.pwn(773) : warning 203: symbol is never used: "X2"
C:\Users\Administrator\Desktop\gamemode\filterscripts\deer.pwn(773) : warning 203: symbol is never used: "coef"
C:\Users\Administrator\Desktop\gamemode\filterscripts\deer.pwn(916) : error 017: undefined symbol "COLOR_GREEN"
C:\Users\Administrator\Desktop\gamemode\filterscripts\deer.pwn(963) : error 017: undefined symbol "COLOR_GREEN"
C:\Users\Administrator\Desktop\gamemode\filterscripts\deer.pwn(965) : error 017: undefined symbol "COLOR_GREEN"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
This error shows ... any fix for this one?


Re: Deer Hunting ! - K3 - 28.06.2013

Looks awesome