onplayerentervehicle
#3

i have another problem after it happend the vehicle does not respawn...

Код:
if(newstate == PLAYER_STATE_ONFOOT && isDelivering[playerid] == 1)
	{
		new playerveh = GetPlayerVehicleID(playerid);
		SendClientMessage(playerid, COLOR_NEWS, "You left your bike, and failed the mission");
		DisablePlayerCheckpoint(playerid);
		isDelivering[playerid] = 0;
		LCP[playerid] = 0;
		KillTimer(pizzatimer[playerid]);
		TextDrawSetString(Textdraw38[playerid], "");
		TogglePlayerControllable(playerid, 1);
		TextDrawHideForPlayer(playerid,Textdraw38[playerid]);
		
		
		PutPlayerInVehicle(playerid, playerveh, 0);
		TogglePlayerControllable(playerid,1);
		SetVehicleToRespawn(playerveh);
	}
Reply


Messages In This Thread
onplayerentervehicle - by PaulDinam - 27.09.2012, 19:58
Re: onplayerentervehicle - by Vince - 27.09.2012, 20:31
Re: onplayerentervehicle - by PaulDinam - 27.09.2012, 21:02
Re: onplayerentervehicle - by mamorunl - 28.09.2012, 00:25

Forum Jump:


Users browsing this thread: 2 Guest(s)