OnPlayerDeath - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: OnPlayerDeath (
/showthread.php?tid=504765)
OnPlayerDeath -
Freedom. - 05.04.2014
fake death does not work on "onplayerdeath"
it kicks when players die twice
code:
if(playerid == killerid) return Kick(playerid);
if(GetPVarInt(playerid, "fakekillnope") > tickcount()) return Kick(playerid);
SetPVarInt(playerid, "fakekillnope", tickcount()+3000);
Re: OnPlayerDeath -
rangerxxll - 05.04.2014
I think your problem is coding related, rather than a bug.
Try to post here for assistance:
http://forum.sa-mp.com/forumdisplay.php?f=12
Re: OnPlayerDeath - Guest4390857394857 - 05.04.2014
remove this line
if(GetPVarInt(playerid, "fakekillnope") > tickcount()) return Kick(playerid);
Re: OnPlayerDeath -
Micheal123 - 05.04.2014
use this you can changed
Код:
#define OnPlayerDeath 100 //fake death here you can changed
Re: OnPlayerDeath -
Pottus - 05.04.2014
This is not a SAMP bug in anyways shape or form.
Re: OnPlayerDeath -
Freedom. - 06.04.2014
Okay, thanks for information.
Problem solved. /