06.07.2017, 08:42
[GameMode] PPC_Trucking V1
08.07.2017, 07:48
Quote:
i am trying to add Vip system but the vip vehicle does not have fuel in it what to do ??
|
Code:
Vehicle_AddStatic(vModel, Float:vX, Float:vY, Float:vZ, Float:vRotation, vC1, vC2, vSpawnDelay) { // Create a new static vehicle during GameModeInit new vid = AddStaticVehicleEx(vModel, vX, vY, vZ, vRotation, vC1, vC2, vSpawnDelay); // Save the vehicle-model AVehicleData[vid][Model] = vModel; // Set the fuel to maximum so the vehicle can be used AVehicleData[vid][Fuel] = MaxFuel; // Save the colors AVehicleData[vid][Color1] = vC1; AVehicleData[vid][Color2] = vC2; // Set this vehicle as a static vehicle AVehicleData[vid][StaticVehicle] = true; return vid; } // This function is the same as Vehicle_AddStatic, but uses CreateVehicle instead of AddStaticVehicleEx, so can be used everywhere Vehicle_Create(vModel, Float:vX, Float:vY, Float:vZ, Float:vRotation, vC1, vC2, vSpawnDelay) { // Create a new static vehicle during GameModeInit new vid = CreateVehicle(vModel, vX, vY, vZ, vRotation, vC1, vC2, vSpawnDelay); // Save the vehicle-model AVehicleData[vid][Model] = vModel; // Set the fuel to maximum so the vehicle can be used AVehicleData[vid][Fuel] = MaxFuel; // Save the colors AVehicleData[vid][Color1] = vC1; AVehicleData[vid][Color2] = vC2; return vid; }
14.07.2017, 02:44
Good job!
14.07.2017, 15:43
alguien puede pasarme este server completo con todo lo que le falta ? quiero ponerlo a descargar y que ya este en linea por favor , soy nuevo
15.07.2017, 05:22
I heard there will be a MySQL version of this gamemode, does anyone know when or it's still in development?
15.07.2017, 16:47
Nice.
06.08.2017, 19:58
01.09.2017, 18:40
can some body make a function that payment was deducted due to bad driving for every truckers ,pilots and bus driver ??
01.09.2017, 20:36
Coo'.
01.09.2017, 21:02
Nice gamemode!
21.05.2020, 08:54
PPC's last visit in sa-mp forums was in 2017.. I remember when he was working on V2 and even had a few video peaks of the new systems.. But those videos are gone in his YT channel. The man left SA-MP and picked the right descision to focus more on his family. At least, that's what I assume.. But could be also that he just lost interest.
« Next Oldest | Next Newest »
Users browsing this thread: 4 Guest(s)