[FilterScript] Deer Hunting !
#21

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)
Reply
#22

Epic! I love the idea!
Reply
#23

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 ^
Reply
#24

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

Very nice
Reply
#26

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

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
Reply
#28

very well man i need it
Reply
#29

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

@Dinnozor
Sucks!
learn scripting before scripting!
Reply
#31

Amazing! that looks really cool!
Reply
#32

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

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 !
Reply
#34

Good job! REP+
Reply
#35

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

loool nicee
Reply
#37

nicee
Reply
#38

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

Код:
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?
Reply
#40

Looks awesome
Reply


Forum Jump:


Users browsing this thread: 8 Guest(s)