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

Adobe Reader!?! Use notepad.
it not letting me change to notepad, how i change it from adobe reader to notepad?

*question answered in-game*
« Last Edit: November 15, 2008, 08:31:26 AM by Tezuni »


I cant get it to work, and the help file wont work....
u got vista dude me too how do we install it???
good job :cookie:

How do you add new jobs to the script?

$CityRP::jobs::name[$CityRP::jobs++] = "Mayor";
            $CityRP::jobs::initialInvestment[$CityRP::jobs] = 20000;
            $CityRP::jobs::pay[$CityRP::jobs] = 5000;
            $CityRP::jobs::tools[$CityRP::jobs] = "hammerItem wrenchItem printGun";
            $CityRP::jobs::items[$CityRP::jobs] = true;
            $CityRP::jobs::law[$CityRP::jobs] = false;
            $CityRP::jobs::pickpocket[$CityRP::jobs] = false

I tired adding new jobs with the older ones but I am having some issues... Where else in the script do I have to add or change code?

im having same prob i changed taxes for bricks (very good) but when i tryed making it so civilions get 30$ in pay its still 20 (not good) please help
heres code                $CityRP::jobs::name[$CityRP::jobs++] = "Civilian";
            $CityRP::jobs::initialInvestment[$CityRP::jobs] = 0;
            $CityRP::jobs::pay[$CityRP::jobs] = 30;
            $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;
oh and bank isnt working for some reson it asks for amount then when i type 200 it asks me ammount again

oh and i want to make a amusement park manager
job$CityRP::jobs::name[$CityRP::jobs++] = "Amusement park manager";
$CityRP::jobs::initialinvestment[cityrp::jobs] = 10000
$CityRP::jobs::pay[cityrp::jobs] = 5000
$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;
basicly they make amusement parks and run em
oh and more jobs for the amusement stuff like (ill post others doubt theres enough room for one post


ob$CityRP::jobs::name[$CityRP::jobs++] = "Amusement park shop keeper";
$CityRP::jobs::initialinvestment[cityrp::jobs] = 100
$CityRP::jobs::pay[cityrp::jobs] = 45
$CityRP::jobs::tools[$CityRP::jobs] = "hammerItem wrenchItem printGun";
$CityRP::jobs::items[$CityRP::jobs] = true;
$CityRP::jobs::law[$CityRP::jobs] = false;
$CityRP::jobs::pickpocket[$CityRP::jobs] = false;
basicly like regular shop keeper only more pay and difrent name

            $CityRP::jobs::name[$CityRP::jobs++] = "amusement park ride manager";
            $CityRP::jobs::initialInvestment[$CityRP::jobs] = 0;
            $CityRP::jobs::pay[$CityRP::jobs] = 50;
            $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;
basicly hes the guy that makes the rides on the park managers bricks (trust needed) and hes olso the one that charges fees for poeple to ride

one last one
$CityRP::jobs::name[$CityRP::jobs++] = "amusement park security";
$CityRP::jobs::initialInvestment[$CityRP::jobs] = 150;
$CityRP::jobs::pay[$CityRP::jobs] = 50;                                                            $CityRP::jobs::tools[$CityRP::jobs] = "hammerItem wrenchItem printGun CityRPBatonItem";
$CityRP::jobs::items[$CityRP::jobs] = false;
$CityRP::jobs::law[$CityRP::jobs] = true;
$CityRP::jobs::pickpocket[$CityRP::jobs] = false;
basicly this guy monitors the amusement park land

i don want to even try putting this stuff in untill i know i can edit the amount they get pay ect

How do I make a game so that when people join, they have to join the mini?

I KNOW why you cant post jobs you need to go to blockland/config/server/cityrp.dat and change jobs 5 add name 5 and all the toher stuff like if it can pickpocket that stuff

i made it so criminals spawn with gun official job and taxes lowerd

I don't get why this won't work on a non-dedicated or lan server.

Well, if anyone wants to try, you can remove the check in server.cs.

Line 2548:
Code: [Select]
if(!$server::dedicated)
{
echo("CityRP does not support non-dedicated servers. Terminating.");

return;
}

if($server::lan)
{
echo("CityRP does not support LAN servers. Terminating.");

return;
}

EDIT: Jookia told me sassy hates LAN and it's meant to be run on stable, dedicated servers.


tryed that it works!!