[Tutorial] Tunned Vehicle
#1

First thing you need to do is add this code
Quote:

new tunnedElegy;// This is the Vehicle that we use

now OnGameModeInIt you add the vehicle
Код:
tunnedElegy = AddStaticVehicle(Cordinations);//This is your vehicle
Now to Add the component you need to add this
Код:
AddVehicleComponent(tunnedElegy, componentid);//
Componentid is the ID from the componend that we gona use,for example
Код:
AddVehicleComponent(tunnedElegy, 1035); // roof
Okey,now for paintjob To change the Paintjob you need to do this
Код:
ChangeVehiclePaintjob(tunnedElegy,paintjobid);//And the paintjob will be changed
Now,OnVehicleSpawn you need to add this
Код:
public OnVehicleSpawn(vehicleid)
{
if (vehicleid == tunnedElegy){
And you add the Componend
Код:
AddVehicleComponent(carID, ComponentID);
Tutorial by:Jake Hunter
Reply
#2

That's not a tutorial.
Reply
#3

Quote:
Originally Posted by Luis-
Посмотреть сообщение
That's not a tutorial.
If isn't tutorial what is?
Reply
#4

Quote:
Originally Posted by Luis-
Посмотреть сообщение
That's not a tutorial.
True.

Read this thread and try again: https://sampforum.blast.hk/showthread.php?tid=65567

By saying "add this .." and "it'll look like .." doesn't make it a tutorial. A tutorial is made to understand what each function do and why/how to use it. By copying-pasting the code to a mode, nobody is going to learn anything from it.
Reply
#5

Badly formatted tutorial without any explanations and filled with spelling mistakes.
Reply
#6

Thanks,i edit it look it now
Reply
#7

It explains nothing at all.
Reply
#8

Quote:
Originally Posted by JakeHunter
Посмотреть сообщение
Thanks,i edit it look it now
It's still badly explained.
Reply
#9

Sorry it my first tutorial
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)