Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

OnPlayerPrepareDeath using weapon-config

$
0
0
How does OnPlayerPrepareDeath work? Can anyone give an example of some sort. I am using weapon-config.

PHP Code:

public OnPlayerPrepareDeath(playeridanimlib[32], animname[32], &anim_lock, &respawn_time);
{
    return 
1;



Errors:
PHP Code:

C:\Users\Austin\Desktop\Small-County-RP-Release\pawno\include\weapon-config.inc(4836) : error 004: function "WC_OnPlayerPrepareDeath" is not implemented
C
:\Users\Austin\Desktop\skrt\gamemodes\SCRP-R39.pwn(1274) : error 055start of function body without function header
C
:\Users\Austin\Desktop\skrt\gamemodes\SCRP-R39.pwn(1275) : error 010invalid function or declaration 


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>