OnPlayerDeath
#1

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);
Reply
#2

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

remove this line
if(GetPVarInt(playerid, "fakekillnope") > tickcount()) return Kick(playerid);
Reply
#4

use this you can changed



Код:
#define OnPlayerDeath 100 //fake death here you can changed
Reply
#5

This is not a SAMP bug in anyways shape or form.
Reply
#6

Okay, thanks for information.

Problem solved. /
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)