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

can i know how to use it?
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerGiveDamage
Reply
#3

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

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

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

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

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?
Reply
#8

Add this ontop of your script.

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


Forum Jump:


Users browsing this thread: 1 Guest(s)