Jump to content
  • 0

Question

Posted

Salut, ma poate ajuta cineva cum se face exact chestia aia cand intri si iesi dintr-un biz/casa, sa-ti dea freeze pana se incarca mappingul?

3 answers to this question

Recommended Posts

  • 0
Posted

 

ii setezi TogglePlayerControllable(playerid, 0);

faci un timer de cateva secunde si ii setezi TogglePlayerControllable(playerid, 1);

  • 0
Posted

Mai exact, în momentul în care intră/iese bagi asta:

TogglePlayerControllable(playerid, 0);
SetTimerEx("UnFreezeEnter", 5000, false, "i", playerid);

Apoi, faci o funcție

function UnFreezeEnter(playerid) {
	TogglePlayerControllable(playerid, 1);
	return 1;
}

O să primească freeze timp de 5 secunde.

  • 0
Posted
20 hours ago, Gabi21 said:

Mai exact, în momentul în care intră/iese bagi asta:

TogglePlayerControllable(playerid, 0);
SetTimerEx("UnFreezeEnter", 5000, false, "i", playerid);

Apoi, faci o funcție

function UnFreezeEnter(playerid) {
	TogglePlayerControllable(playerid, 1);
	return 1;
}

O să primească freeze timp de 5 secunde.

Multumesc!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.