Skripta koju koristim: Moj GM od 0
Detaljan opis problema: Hocu ako neko napise SMS ili Reklamira ili vozi sa 300km/h da mi dodje INFO: Taj i taj koristi Cheat te vozi 300km/h - provjerite ga da nema Cheat
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
U prevodu treba ti Anticheat sistem....
Skini neki pa ga edituj
Stavis pod public OtherTimer
if(gSpeedo[i] == 2)
{
if(distance <10)
{
format(string, 256, "~r~Brzina: ~w~%.0f",distance);
}
if(distance > 10 && distance < 100)
{
format(string, 256, "~r~Brzina: ~w~%.0f",distance);
}
if(distance > 100)
{
format(string, 256, "~r~Brzina: ~w~%.0f",distance);
}
}
if(distance > maxspeed && PlayerInfo[i][pAdmin] == 0 && PlayerInfo[i][pGameMaster] == 0)
{
GetPlayerName(i, plname, sizeof(plname));
format(string, 256, "AdmWarn: %s ima trenutnu brzinu od %.0f mph - provjerite ga da nema cheat!",plname,distance);
ABroadCast(COLOR_LIGHTRED,string,1);
}
News izpod public OtherTimer
new Float:maxspeed = 400.0;
new plname[MAX_PLAYER_NAME];
Pa news skroz gore:
new gSpeedo[MAX_PLAYERS];
Pa iznad if(gSpeedo == 2):
new Float:distance = (sqxdist+sqydist)/31;
Mislim da bi to bilo to za Brzinu. Za poruku nezz, Mislim da ce to biti ok.... Ako ne javi :)
Citat: Memorexâ,,¢ poslato Decembar 25, 2011, 19:26:59 POSLE PODNE
Stavis pod public OtherTimer
if(gSpeedo[i] == 2)
{
if(distance <10)
{
format(string, 256, "~r~Brzina: ~w~%.0f",distance);
}
if(distance > 10 && distance < 100)
{
format(string, 256, "~r~Brzina: ~w~%.0f",distance);
}
if(distance > 100)
{
format(string, 256, "~r~Brzina: ~w~%.0f",distance);
}
}
if(distance > maxspeed && PlayerInfo[i][pAdmin] == 0 && PlayerInfo[i][pGameMaster] == 0)
{
GetPlayerName(i, plname, sizeof(plname));
format(string, 256, "AdmWarn: %s ima trenutnu brzinu od %.0f mph - provjerite ga da nema cheat!",plname,distance);
ABroadCast(COLOR_LIGHTRED,string,1);
}
News izpod public OtherTimer
new Float:maxspeed = 400.0;
new plname[MAX_PLAYER_NAME];
Pa news skroz gore:
new gSpeedo[MAX_PLAYERS];
Pa iznad if(gSpeedo == 2):
new Float:distance = (sqxdist+sqydist)/31;
Mislim da bi to bilo to za Brzinu. Za poruku nezz, Mislim da ce to biti ok.... Ako ne javi :)
e hvala ti to sam i ja tražio
Citat: John_Macklain poslato Decembar 25, 2011, 19:38:09 POSLE PODNE
Citat: Memorexâ,,¢ poslato Decembar 25, 2011, 19:26:59 POSLE PODNE
Stavis pod public OtherTimer
if(gSpeedo[i] == 2)
{
if(distance <10)
{
format(string, 256, "~r~Brzina: ~w~%.0f",distance);
}
if(distance > 10 && distance < 100)
{
format(string, 256, "~r~Brzina: ~w~%.0f",distance);
}
if(distance > 100)
{
format(string, 256, "~r~Brzina: ~w~%.0f",distance);
}
}
if(distance > maxspeed && PlayerInfo[i][pAdmin] == 0 && PlayerInfo[i][pGameMaster] == 0)
{
GetPlayerName(i, plname, sizeof(plname));
format(string, 256, "AdmWarn: %s ima trenutnu brzinu od %.0f mph - provjerite ga da nema cheat!",plname,distance);
ABroadCast(COLOR_LIGHTRED,string,1);
}
News izpod public OtherTimer
new Float:maxspeed = 400.0;
new plname[MAX_PLAYER_NAME];
Pa news skroz gore:
new gSpeedo[MAX_PLAYERS];
Pa iznad if(gSpeedo == 2):
new Float:distance = (sqxdist+sqydist)/31;
Mislim da bi to bilo to za Brzinu. Za poruku nezz, Mislim da ce to biti ok.... Ako ne javi :)
e hvala ti to sam i ja tražio
Nema Na cemu :)