SA-MP Forums Archive
how to do anti-lag shot (when shoot image in lag it gives damage(OnPlayerGiveDamage)) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: how to do anti-lag shot (when shoot image in lag it gives damage(OnPlayerGiveDamage)) (/showthread.php?tid=322161)



how to do anti-lag shot (when shoot image in lag it gives damage(OnPlayerGiveDamage)) - michael_dark_1 - 01.03.2012

can i know how to use it?


Re: how to do anti-lag shot (when shoot image in lag it gives damage(OnPlayerGiveDamage)) - PawnFox - 01.03.2012

https://sampwiki.blast.hk/wiki/OnPlayerGiveDamage


Re: how to do anti-lag shot (when shoot image in lag it gives damage(OnPlayerGiveDamage)) - WackoX - 01.03.2012

Download FRAPS, use F10 to make no-lag screenshots.


Re: how to do anti-lag shot (when shoot image in lag it gives damage(OnPlayerGiveDamage)) - michael_dark_1 - 02.03.2012

Quote:
Originally Posted by [V]PawnFox
Посмотреть сообщение
when i copy the script and put it on my script it says: 1 warning.
C:\Program Files (x86)\Rockstar Games\SAMP server\gamemodes\Marsigne.pwn(133) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

NOTE: it is 0.3d script and server


Re: how to do anti-lag shot (when shoot image in lag it gives damage(OnPlayerGiveDamage)) - michael_dark_1 - 02.03.2012

Quote:
Originally Posted by michael_dark_1
Посмотреть сообщение
when i copy the script and put it on my script it says: 1 warning.
C:\Program Files (x86)\Rockstar Games\SAMP server\gamemodes\Marsigne.pwn(133) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

NOTE: it is 0.3d script and server
EDIT: sorry for double post but i haven't got an answe so i have to insist.


Re: how to do anti-lag shot (when shoot image in lag it gives damage(OnPlayerGiveDamage)) - R0FLC0PTER - 02.03.2012

You forgot to include a_samp
Or you should update your includes.


Re: how to do anti-lag shot (when shoot image in lag it gives damage(OnPlayerGiveDamage)) - michael_dark_1 - 04.03.2012

Quote:
Originally Posted by R0FLC0PTER
Посмотреть сообщение
You forgot to include a_samp
Or you should update your includes.
no, i got a_samp, but what includes i need for?


Re: how to do anti-lag shot (when shoot image in lag it gives damage(OnPlayerGiveDamage)) - Chrillzen - 04.03.2012

Add this ontop of your script.

Код:
forward OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)