Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

CUM FAC TEMPO RASP RAPID :|


Question

Posted

am in gm o comanda care iti da vreo 4 5 arme,si nu jtiu cum sa fac ca acea comanda sa poata fi accesata doar dupa o anumita perioada de timp

help pls!

u78ch.jpg

CHECK MY CHANNEL!

http://www.youtube.com/user/amysoica

2 answers to this question

Recommended Posts

Posted

1.Titlul.

2.

//sus in script
new TimpComanda[MAX_PLAYERS];

//onplayercommandtext
if(strcmp(cmdtext,"/comanda",true) == 0)
{
	if(TimpComanda[playerid] == 0)
	{
		//restul comenzii
		TimpComanda[playerid] = 1;
		SetTimerEx("DeleteTimpComanda",timp_sa_nu_poata_fi_folosita,0,"i",playerid);
	}
	else SendClientMessage(playerid,COLOR_RED,"Trebuie sa astepti pana sa folosesti din nou comanda!");
	return 1;
}
//undeva in script, jos de preferat:
forward DeleteTimpComanda(playerid);
{
    TimpComanda[playerid] = 0;
}

Posted

iti dau un sfat mai bun decat sa te chinui sa faci uitate la comanda de /find care e pe timp si uitata cum e facuta eu asea am facut si merge perfect

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.