Help me please.
#1

I edit and added andromada and at400 missions in PPC Trucking gamemode. But when i go to load/checkpoint its make me freeze and it dosen't show the unload check point.
check this..: i edit those:
Код:
witch (GetVehicleModel(GetPlayerVehicleID(playerid)))
	{
		case VehicleShamal, VehicleAndromada, VehicleAT400, VehicleNevada: // Select a random job for planes
			PilotJobSet = Pilot_Plane_SetRandomJob(playerid);
		case VehicleMaverick, VehicleCargobob: // Select a random job for helicopters
		    PilotJobSet = Pilot_Heli_SetRandomJob(playerid);
	}
I added there VehicleAT400 and VehicleAndromada.

And also define :
Код:
#define VehicleAT400            577 // Plane: AT400
#define VehicleAndromada        592 // Plane: Andromada
Like other planes.... But why it makes me freeze+ dosen't close the checkpoint?
Reply
#2

is it switch or witch??

This forum requires that you wait 240 seconds between posts. Please try again in 165 seconds.
Reply
#3

Can someone give me 1 reputation? XD
Reply
#4

Quote:
Originally Posted by newbie scripter
Посмотреть сообщение
is it switch or witch??

This forum requires that you wait 240 seconds between posts. Please try again in 165 seconds.
What did you mean?
Reply
#5

It must be switch not witch

Like This :-

Код:
switch (GetVehicleModel(GetPlayerVehicleID(playerid)))
	{
		case VehicleShamal, VehicleAndromada, VehicleAT400, VehicleNevada: // Select a random job for planes
			PilotJobSet = Pilot_Plane_SetRandomJob(playerid);
		case VehicleMaverick, VehicleCargobob: // Select a random job for helicopters
		    PilotJobSet = Pilot_Heli_SetRandomJob(playerid);
	}
EDIT :-

Post the Checkpoint Code here, or Find "TogglePlayerControllable(playerid, 0);" from your Checkpoint Code, and Delete it .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)