| Blockland Files > Add-Ons |
| [P] CityRP |
| << < (26/85) > >> |
| Colten:
--- Quote from: Monty on October 31, 2008, 01:00:11 PM ---That's because your internet sucks. --- End quote --- Your richard is just a little too far up Ibans ass. |
| Destiny/Zack0Wack0:
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: ---$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; --- End code --- Then go to line (ctrl+g) 1186 and paste this in: --- Code: ---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; } --- End code --- This is something me and bolt made a while ago, that should work. |
| Mr. Unknown:
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: |
| Mr. Unknown:
--- Quote from: Mr. Unknown on November 01, 2008, 10:41:01 AM ---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: --- End quote --- oh and it kinda sucks balls |
| luigimaster:
How do i play dedicaded? i konw we have to open the dedicaded.bat file, but how do i play on it? |
| Navigation |
| Message Index |
| Next page |
| Previous page |