[Tutorial] How to add cars into your Gamemode
#1

How to add cars into your Gamemode


Step 1: Open samp_debug, Can be found here Windows 8/7/Vista: C:\Program Files (x86)\Rockstar Games\GTA San Andreas and for Windows XP: C:\Program Files\Rockstar Games\GTA San Andreas.

Step 2: Launch samp_debug until you can walk around, press "T" and type "/vsel" and then you can use "Shift" to flick through the types of cars, After finding a car you want, You can move on to Step 3

Step 3: Drive the car to a specific location on which you want it and press "T" then "/save" and after that your done, If you want to add multiple cars, just repeat the above process

Step 4: Locate your way to your Documents folder Here for windows 8/7: Libraries\Documents not sure for Windows xp, Im guesing everyone will know where their documents folder is.

Step 5: Go into "GTA San Andreas User Files" > "SAMP" > "savespositions.txt" or "savedpositions", Open the file and you should be presented with something like this: "AddStaticVehicle(426,-2088.6384,-117.5032,35.0583,1.7855,79,1); //" obviously your coordinates are going to be different than mine so you just wanna copy the whole things from Add to the // and then your good to go to Step 6.

Step 6: Open pawno and click on file, Opening your gamemode, Then find "OnGamemodeInit" and then underneath tab across once by pressing a key that looks like: "-->|" and then paste the coding and your good to go, Move on.
"|<--"

Step 7: Compile your script, Enjoy your car!

Tutorial Made By:

Operation Roleplay founder: Thomas Williams
Reply
#2

Good for extreme noobs, but this type of tutorial has definitely been posted before and probably will be posted again in the future. You should explain it more and give examples of what you're doing too, I.e. Screenshots and pawn codes.
Reply
#3

Simple, but useful for newbies, well explained though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)