SA-MP Forums Archive
help { damaged effect } - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help { damaged effect } (/showthread.php?tid=460950)



help { damaged effect } - soroushdarkness13 - 30.08.2013

hi
in some cod servers when you have damaged , your screen will change color to red .... for damage ( blood ) effect ....
how can i make same ?
sorry for bad english
pls help.
bye


Re: help { damaged effect } - RedJohn - 30.08.2013

http://pastebin.com/RrhGPAhT


Re: help { damaged effect } - soroushdarkness13 - 30.08.2013

problem
Quote:

C:\Users\dm\Videos\2\New folder (7)\call of duty new start\filterscripts\fare.pwn(216) : error 004: function "OnPlayerScreenFade" is not implemented
C:\Users\dm\Videos\2\New folder (7)\call of duty new start\filterscripts\fare.pwn(241) : error 004: function "OnPlayerFadeFlashed" is not implemented
C:\Users\dm\Videos\2\New folder (7)\call of duty new start\filterscripts\fare.pwn(251) : error 004: function "OnPlayerScreenFade" is not implemented
C:\Users\dm\Videos\2\New folder (7)\call of duty new start\filterscripts\fare.pwn(279) : error 004: function "OnPlayerScreenColorFade" is not implemented
C:\Users\dm\Videos\2\New folder (7)\call of duty new start\filterscripts\fare.pwn(32 : warning 203: symbol is never used: "Seifader_OnExit"




Re: help { damaged effect } - RedJohn - 30.08.2013

Don't add this to your gamemode. Copy this to fade.inc and copy fade.inc to your pawno/includes folder.

Then add

pawn Код:
#include <fade>
to the top of your gamemode.