Author Topic: Modding the City RP  (Read 782 times)

I want to know how to edit People Mods and add more jobs and weapons. Please be helpful. If you are not going to be helpful, don't post, and if you still do, you're an idiot.

look at jobs.cs

If you need info, ask.

For some reason no such thing as jobs.cs, maybe I told you the wrong city rp(there are many). The add-on folder is called PeopleMods_CityRP.

sorry, I meant jobs.dat

maybe you have an older or different city rp though.

I would suggest remaking your own instead of trying to comprehend the stuffstorm of code in the cityRP function.

Jookia's coding style makes it difficult for anyone to read it, even those with coding ability.

The files in there are all .cs i think. No .dat files. Although there is a folder called server.cs and I opened it and saw this(small example):

   
Code: [Select]
$CityRP::jobs::name[$CityRP::jobs++] = "Civilian";
$CityRP::jobs::initialInvestment[$CityRP::jobs] = 0;
$CityRP::jobs::pay[$CityRP::jobs] = 20;
$CityRP::jobs::tools[$CityRP::jobs] = "hammerItem wrenchItem printGun";
« Last Edit: July 07, 2009, 01:47:45 PM by The Russian »

that's the part you would edit.  You copy that code then change the ends of it to make custom jobs.

EXAMPLE: "Police Chief"  = job name
      1000 = How much it costs to get the job
      75 = The pay
       "hammerItem wrenchItem printGun" = starting equipment