SA-MP Forums Archive
Changing Skins in PPC_Trucking - 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: Changing Skins in PPC_Trucking (/showthread.php?tid=367927)



Changing Skins in PPC_Trucking - Geeboi_Mehdi - 11.08.2012

Here is The Skins For Trucker Class
Trucking Class Skins:
33,19,60,82,258,261,206
But I Cant Find Them Any Were in the Script Any Help?


Re: Changing Skins in PPC_Trucking - FalconX - 11.08.2012

Quote:
Originally Posted by Geeboi_Mehdi
Посмотреть сообщение
Here is The Skins For Trucker Class
Trucking Class Skins:
33,19,60,82,258,261,206
But I Cant Find Them Any Were in the Script Any Help?
Hm?

you mean you want to change them and you can't find them in the script? or you just want to know where they are if that's what you're looking for then try finding:

pawn Код:
AddPlayerClass(1, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0); // ignore the coordination
(skin, Float, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)

First parameter is SKIN so you have to check in OnGameModeInit if AddPlayerClass( 33, ... ); and other skin exists.

Hope this helps


Re: Changing Skins in PPC_Trucking - Geeboi_Mehdi - 11.08.2012

Yea i cant Find The Skins In teh Script How i Find and Change them?


Re: Changing Skins in PPC_Trucking - FalconX - 11.08.2012

Quote:
Originally Posted by Geeboi_Mehdi
Посмотреть сообщение
Yea i cant Find The Skins In teh Script How i Find and Change them?
Re-read my post :/


Re: Changing Skins in PPC_Trucking - Geeboi_Mehdi - 11.08.2012

Still i cant find it Scrolled 2 times reading line by line will it be in Include FoldeR?


Re: Changing Skins in PPC_Trucking - HyDrAtIc - 11.08.2012

press on Find paste this

pawn Код:
public OnGameModeInit()
{
You'll find all classe's in script


Re: Changing Skins in PPC_Trucking - HyDrAtIc - 11.08.2012

Is that what you wanted?


Re: Changing Skins in PPC_Trucking - Geeboi_Mehdi - 12.08.2012

See look

public OnGameModeInit()
{
new HostCommand[128];
// Change the hostname
format(HostCommand, 128, "hostname %s", GameModeName);
SendRconCommand(HostCommand);
SetGameModeText(GameModeName); // Set the Mode of the gamemode, which appears in the list of servers

GameModeInit_VehiclesPickups(); // Add all static vehicles and pickups when the server starts that are required (also load the houses)
GameModeInit_Classes(); // Add character models to the class-selection (without weapons)

Convoys_Init(); // Setup textdraws and default data for convoys

ShowPlayerMarkers(1); // Show players on the entire map (and on the radar)
ShowNameTags(1); // Show player names (and health) above their head
ManualVehicleEngineAndLights(); // Let the server control the vehicle's engine and lights
EnableStuntBonusForAll(0); // Disable stunt bonus for all players
DisableInteriorEnterExits(); // Removes all building-entrances in the game
UsePlayerPedAnims(); // Use CJ's walking animation

// Start the timer that will show timed messages every 2 minutes
SetTimer("Timer_TimedMessages", 1000 * 60 * 2, true);
// Start the timer that will show a random bonus mission for truckers every 5 minutes
SetTimer("ShowRandomBonusMission", 1000 * 60 * 5, true);
// Start the timer that checks the toll-gates
SetTimer("Toll", 1000, true);

// Fix the bugged houses (after fixing the houses, you can remove this line, as it's not needed anymore)
FixHouses();

// While the gamemode starts, start the global timer, and run it every second
SetTimer("GlobalTimer", 1000, true);

return 1;
}


Re: Changing Skins in PPC_Trucking - kickerbat - 12.08.2012

Try search for

Код:
AddPlayerClass



Re: Changing Skins in PPC_Trucking - Geeboi_Mehdi - 12.08.2012

Nope Its not there