Olha oq vcs acham ? se ele passa O MEU COD para FS ele tem o direito de colocar os seus creditos ? ele nгo fez nada alem de colocar meu COD no new.pwn!
pawn Код:
/*
|----------------------------------------------------|
|___________________ Anti-Speed Hack ________________|
| |
| Creditos: Paulo_TerroR |
| Transformado em FS por: Caio_Freeze |
|____________________________________________________|
*/
#define FILTERSCRIPT
#include <a_samp>
//============Define=========//
#define COR_VERDE 0x00FF00AA //
//===========================//
//========new=====//
new string[128]; //
//================//
//===forward====//
forward Hack(); //
//==============//
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Carregando Anti-Speed Hack... ");
print("--------------------------------------\n");
SetTimer("Hack", 200, true);
return 1;
}
public OnFilterScriptExit()
{
print("\n--------------------------------------");
print(" Desligando Anti-Speed Hack... ");
print("--------------------------------------\n");
return 1;
}
public Hack()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
new keys, updown, leftright, string[128];
GetPlayerKeys(i, keys, updown, leftright);
new Nome[MAX_PLAYER_NAME]; GetPlayerName(i, Nome, sizeof(Nome));
new Float:Pos[4]; Pos[3] = GetPlayerDistanceFromPoint(i, Pos[0], Pos[1], Pos[2]); GetPlayerPos(i, Pos[0], Pos[1], Pos[2]);
if((keys & KEY_ACTION || keys & KEY_FIRE) && (floatround(floatmul(Pos[3], 10.0)) > 200) && (IsPlayerInAnyVehicle(i)))
{
format(string, 128, "Anti-Speed Hack: [%d]%s estб usando ******!", i, Nome);
AvisarAdm(COR_VERDE, string);
}
}
}
stock AvisarAdm(color, const str[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerAdmin(i))
{
SendClientMessage(i, color, str);
}
}
}
return 1;
}
/*
|----------------------------------------------------|
|___________________ Anti-Speed Hack ________________|
| |
| Creditos: Paulo_TerroR |
| Transformado em FS por: Caio_Freeze |
|____________________________________________________|
*/