23.04.2012, 21:27
E aн.
Bem, eu tenho um anti fake kill(nгo foi feito por mim), o problema dele й que ele estб a funcionar normal, mas se alguйm matar de Granada(Explosгo), Drive-By e algumas vezes cair de penhascos ele й kickado como suspeito de fake kill.
Cуdigo
Se alguйm puder me ajudar, й urgente, por favor, atй imploro.
Bem, eu tenho um anti fake kill(nгo foi feito por mim), o problema dele й que ele estб a funcionar normal, mas se alguйm matar de Granada(Explosгo), Drive-By e algumas vezes cair de penhascos ele й kickado como suspeito de fake kill.
Cуdigo
PHP код:
public OnPlayerDeath(playerid, killerid, reason)
{
new string[128];
if(killerid != INVALID_PLAYER_ID)
{
if(GetPlayerWeapon(killerid) != reason)
{
new pNome[MAX_PLAYER_NAME];
GetPlayerName(playerid, pNome, MAX_PLAYER_NAME);
format(string, sizeof(string), " %s foi kickado por suspeita de fake kill", pNome);
SendClientMessageToAll( -1, string);
SendClientMessage(playerid, -1, "Vocк foi kickado por suspeita de FAKE KILLL.");
Kick(killerid);
return 1;
}
}
return 1;
}


