Author Topic: [P] CityRP  (Read 81460 times)


Jookias sucks. truley.
Okay, because I'm sick of everyone who's going "OH OMG TIHS SUX IBANZ BETTAR".
BACK UP YOUR GOD DAMN ARGUMENT. TELL US WHY YOU THINK THAT. I'm honestly curious myself as I never play Ibans' server due to it pinging out the ass every five minutes (it spikes to anywhere between 5000 and 8000 ping every few minutes when I'm on there, no other servers do this)

Okay, because I'm sick of everyone who's going "OH OMG TIHS SUX IBANZ BETTAR".
BACK UP YOUR GOD DAMN ARGUMENT. TELL US WHY YOU THINK THAT. I'm honestly curious myself as I never play Ibans' server due to it pinging out the ass every five minutes (it spikes to anywhere between 5000 and 8000 ping every few minutes when I'm on there, no other servers do this)
That's because your internet sucks.

protokal iw was on the city rp with you last time you sold me the shotgun remeber

THX SO MUCH I HAVE WANTED THIS ADD-ON FOREVER!!  :cookie: :cookie: :cookie: :cookie: :cookie:

That's because your internet sucks.
Your richard is just a little too far up Ibans ass.

Doctor Job if anyone is interested.
__________
Go to your PeopleMods_CityRp folder and copy the server.cs file to your desktop. Open it up from the desktop and go to line (ctrl+g) 70 and copy this code in:
Code: [Select]
$CityRP::jobs::name[$CityRP::jobs++] = "Doctor";
$CityRP::jobs::initialInvestment[$CityRP::jobs] = 750;
$CityRP::jobs::pay[$CityRP::jobs] = 85;
$CityRP::jobs::tools[$CityRP::jobs] = "hammerItem wrenchItem printGun";
$CityRP::jobs::items[$CityRP::jobs] = false;
$CityRP::jobs::law[$CityRP::jobs] = false;
$CityRP::jobs::pickpocket[$CityRP::jobs] = false;
Then go to line (ctrl+g) 1186 and paste this in:
Code: [Select]
if(%command $= "heal")
{
   %amount = mFloor(getWord(%args, 0));
   if(%amount < 1)
   {
      messageClient(%client, '', "\c6You must enter a valid amount of health to heal.");
      return;
   }
   if($CityRP::jobs::name[CityRPData.getData(%client.bl_id).valueJobID]!= "Doctor")
   {
      messageClient(%client, '', "\c6Only doctors can heal others.");
      return;
   }
   %target = containerRayCast(%client.player.getEyePoint(),     vectorAdd(vectorScale(vectorNormalize(%client.player.getEyeVector()), 8), %client.player.getEyePoint()), $typeMasks::playerObjectType).client;
   if(!isObject(%target))
   {
      messageClient(%client, '', "\c6You must be looking at and be in a reasonable distance of the player in order to give them money.");
      return;
   }
   messageClient(%client, '', "\c6You heal \c3" @ %amount SPC "\c6of \c3" @ %target.name @ "\'s\c6 health.");
   messageClient(%target, '', "\c3" @ %client.name SPC "\c6has healed you \c3" @ %amount @ "\c6 health.");
   %health = %target.getDamageLevel()-%amount;
   %target.setDamageLevel(%health);
   %client.CityRP(1);
   %target.CityRP(1);
   return;
}

This is something me and bolt made a while ago, that should work.

hey how do you open the gui i can not make it work? :panda:
oh and cookie good add-on i like  :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie:

hey how do you open the gui i can not make it work? :panda:
oh and cookie good add-on i like  :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie:
oh and it kinda sucks balls

How do i play dedicaded?
i konw we have to open the dedicaded.bat file, but how do i play on it?

Tom

Code: [Select]
$CityRP::jobs::name[$CityRP::jobs++] = "Doctor";
$CityRP::jobs::initialInvestment[$CityRP::jobs] = 750;
$CityRP::jobs::pay[$CityRP::jobs] = 85;
$CityRP::jobs::tools[$CityRP::jobs] = "hammerItem wrenchItem printGun";
$CityRP::jobs::items[$CityRP::jobs] = false;
$CityRP::jobs::law[$CityRP::jobs] = false;
$CityRP::jobs::pickpocket[$CityRP::jobs] = false;
That would only work if you added the job before the mod was ran or if they deleted the cityRPprefs file.

I added a code to it. Its a little abusive.
Code: [Select]
$CityRP::jobs::name[$CityRP::jobs++ = "Doctor"
                                        $CityRP::jobs::initialInvestment[$CityRP::jobs] = 1200
                                        $CityRP::jobs::pay[$CityRP::jobs] = 400;
                                        $CityRP::jobs::tools[$CityRP::jobs] = "hammerItem wrenchItem PrintGun"
                                        $CityRP::jobs::items[$CityRP::jobs] = false;
                                        $CityRP::jobs::law [$CityRP::jobs] = true;
                                        $cityRP::jobs::pickpoket[$CityRP::jobs] = false;

If anyone is using that doctor code, I suggest you use the same method as stealing (As a criminal). And somehow make an extra pay feature, like the policeman, (Jailing) Shopkeeper (Selling) and so on.

how do i work this --_--

how do i work this --_--


i have no idea what the "^" controls are -.-