Jump to content
  • 0

Problema la OnPlayerSpawn


Question

Posted

Salut. Sunt un incepator si incerc cat de cat sa invat acest fel de limba.

Ce incerc eu sa fac si nu prea merge, e ca vreau sa inghete fiecare om cand o aparut si dupa 6 secunde sa-l lase sa mearga. Ce am facut pana acum este aici:

	new string[128];
	TogglePlayerControllable(playerid, 0);
	format(string,sizeof(string),"~W~Prepare to fight");
	GameTextForAll(string,3000,3);
	SetTimerEx("CanGoTimer", 6000, false, "i", playerid);
	return 1;
}
forward CanGoTimer(playerid);
public CanGoTimer(playerid)
{
	new string[128];
	format(string,sizeof(string),"~R~Fight");
	GameTextForAll(string,3000,3);
    TogglePlayerControllable(playerid, 1);
}

Mersi pentru cine imi poate da sugesti.

1 answer to this question

Recommended Posts

Posted

Sigur ai pus

new string[128];
	TogglePlayerControllable(playerid, 0);
	format(string,sizeof(string),"~W~Prepare to fight");
	GameTextForAll(string,3000,3);
	SetTimerEx("CanGoTimer", 6000, false, "i", playerid);

La OnPlayerSpawn/comanda care trebuie sa-l inghete 6 secunde ?

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.