Jump to content
  • 0

pomoc Problem with tramway and freeze player


xFreazen

Dotaz

Hi, i would like to freeze player and his car (tramway) on a checkpoint.

My code: 

  if(CP[playerid] == 6000)
	{
            SendClientMessage(playerid, COLOR_JOB," ");
			SendClientMessage(playerid, COLOR_JOB,"[Information]{EBECE1} Arrêt actuel: Motel");
			SendClientMessage(playerid, COLOR_JOB,"[Information]{EBECE1} Prochain arrêt: Chapelle");
			SetPlayerCheckpoint(playerid, 2283.8784, -1419.8206, 24.4352, 3.0);
			TogglePlayerControllable(playerid,0);
			SetTimerEx("UnfreezePlayer",10000,false,"d",playerid);
			CP[playerid] = 6001;
			return 1;
		}

All works well (timer, no errors...) but: the player is freeze and not the tramway. It's a real problem thank you for your help.

Link to comment
Share on other sites

1 odpověd na tuto otázku

Recommended Posts

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...