SA-MP Forums Archive
ayuda - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: ayuda (/showthread.php?tid=125660)



ayuda - SiDek35 - 05.02.2010

Hola amigos del foro...
algun FS anticheat que avise Que ''x'' jugador
esta usando cheat y cual
aa y que cuando lo detecte el anticheat que lo mande a prision
y que ya yo decida si kickearlo o banearlo
amm y si no es mucho pedir alguno que haga que los jugadores
cuando pongan /kill se maten
de antemano gracias amigos..!!


Re: ayuda - Miguel - 05.02.2010

Para el comando /kill no necesitas hacer practicamente nada, solo agrega esto en un GM:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp(cmdtext, "/kill", true) == 0)
  {
    SetPlayerHealth(playerid, 0.0);
    return 1;
  }
  return 0;
}
Para lo del anticheats, entras aqui: http://forum.sa-mp.com/index.php?board=62.0 y buscas "Anticheats".