Help me please. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me please. (
/showthread.php?tid=474893)
Help me please. -
Tuntun - 10.11.2013
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?
Re: Help me please. -
newbie scripter - 10.11.2013
is it switch or witch??
This forum requires that you wait 240 seconds between posts. Please try again in 165 seconds.
Re: Help me please. -
BrantScripter - 10.11.2013
Can someone give me 1 reputation? XD
Re: Help me please. -
Tuntun - 10.11.2013
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?
Re: Help me please. -
SAMProductions - 10.11.2013
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

.