Szerző Téma: Anti flood Problem  (Megtekintve 1724 alkalommal)

Anti flood Problem
« Válasz #15 Dátum: 2014. Április 14. - 16:28:56 »
0 Show voters
Ja
Mert a Gamemodeba rakom be

Anti flood Problem
« Válasz #16 Dátum: 2014. Április 14. - 17:17:29 »
0 Show voters
#define FLOODTIME 3
public OnPlayerText(playerid, text[])
{
//Flood time
if(GetPVarInt(playerid,\"FloodTime\") > gettime()){
SendClientMessage(playerid, 0xFF0000AA, \"{ff0000}Várj {ffffff}\"#FLOODTIME\" {ff0000}másodpercet míg újból írsz!\");
return 0;
}
SetPVarInt(playerid,\"FloodTime\", gettime() + FLOODTIME);
return 0;
}

Anti flood Problem
« Válasz #17 Dátum: 2014. Április 14. - 17:37:50 »
0 Show voters
Köszi most mûködik
zárok

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal