Jump to content
  • 0

Timer


TeA

Question

Problema intalnita (descriere): eroare timer
Ero(area / rile) / warning-(ul / urile): 

CMD:votelider(playerid,params[])
{
	if(IsPlayerConnected(playerid))
	{
		if(votelider == 1) return SendClientMessage(playerid, COLOR_LIGHTRED, "Nu e nici o votare in desfasurare");
		{
			if((GetTickCount()-WaitTimeForCMD[playerid])>120000)return SendClientMessage(playerid,RED,"ERROR: Tocmai ai votat !");
			if(sscanf(params, "ui",id)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FF9900}Scrie: {33CCFF}/votelider <Playerid>");
			if(IsPlayerConnected(id)) return SendClientMessage(playerid, 0xFFFFFFFF, "Jucatorul nominalizat nu este pe server .");
			{
				SendClientMessageToAll(COLOR_RED, " %s l-a ales pe %d pentru functia de lider.");
			}
		}
	}
	return 1;
}


Liniile de cod / sursa / script-ul(obligatoriu):
Imagini / Video (optional):
Ati incercat sa rezolvati singur?:  da 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.