14.10.2013, 21:29
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