if (!strcmp(cmdtext, \"/parancs\", true))
{
if(GetPVarInt(playerid, \"parancsido\")-GetTickCount() < 5000) return SendClientMessage(playerid, 0, \"Ezt a parancsot csak 5 másodpercenként használhatod!\");
SendClientMessage(playerid, 0, \"Beírtad a /parancs parancsot...\");
SetPVarInt(playerid, \"parancsido\", GetTickCount());
return 1;
}
lehet hogy hüllyeséget mondok, de szerintem az 5000-et ird át 10000-re, és akkor 10mp-tõl számolNem mondasz hülyeséget, csak írd át a GetTickCount() < 5000nél az 5000ret 10000re. :)
Nem mondasz hülyeséget, csak írd át a GetTickCount() < 5000nél az 5000ret 10000re. :)
lehet hogy hüllyeséget mondok, de szerintem az 5000-et ird át 10000-re, és akkor 10mp-tõl számol
[/quote]
okés, csak még nemm nagyon értek a számlálóhoz.
vagy timer, vagy hogy is hivják :D :angel: