Jump to content
  • 0

Comanda pe timp


eXtreMe96

Question

4 answers to this question

Recommended Posts

Folosesti un timer.

Cauta in gm tau :

UsedFind

Si pui UsedComanda(pui la ce comanda vrei tu)

UsedFind e de la detective /find si are un timer,si faci peste tot cum e acolo

Trebuie sa mai si gandim

Ce draq ai scirs pe ce limba vorbesti nam inteles nimic tu gindesti de unde sa fac timerul daca nul am in gm

lol

Link to comment
Share on other sites

Vezi dac? merge a?a:

Adaugi astea undeva:

forward AntiSpam(playerid);
public AntiSpam(playerid)
{
    SetPVarInt(playerid, "antispam_spam", 0);
}
?i comanda lâng? celelalte(atentie! eu am folosit ZCMD)
CMD:timer(playerid ,params[]){
{
if(GetPVarInt(playerid, "antispam_spam") == 0)
{
SetTimerEx("AntiSpam", 3000, false, "i", playerid);
SetPVarInt(playerid, "antispam_spam", 1);
//Functiile tale
SendClientMessage(playerid,0x1ED5C7FF,"în loc de acest mesaj trebuie s? adaugi func?iile tale");
return 1;
}
else return SendClientMessage(playerid, 0xFFFFFF, "[ANTI-SPAM] Poti folosi aceasta comanda doar odata la 3 secunde.");
}
}

TESTAT! MERGE

qdbjz10.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.