Businesses + Factions
#1

I am wondering if anyone could show me or point me in the right direction to making businesses to buy in a roleplay server and how to make factions?

i seen the tutorial on gTeam but that is to make teams, not factions
Reply
#2

Do you actually want the businesses to do stuff? (sell burgers, sell guns etc) This is very very complicated especially if you want to simulate a realistic economy.


Or do you just want the player to think he owns something? (even though its meaningless) A business is no more than a random designation that's assigned a point on the map and ownership in one player's userfile.
Reply
#3

I want them to sell guns, clothes, phones, etc etc and for someone to purchase the business also so if someone buy's a phone or what ever the money goes to the business' safe
Reply
#4

These are advanced scripts. If you are asking how to make them, I would suggest you download a gamemode that has already tackled this issue. Godfather's 24/7 business is pretty decent. But seriously this very advanced scripting because it entails so much.
Reply
#5

I'm making a non gf gamemode
Reply
#6

Quote:
Originally Posted by Ritchie999
I'm making a non gf gamemode
What you could do is take parts of the gf script, use it, learn from it but change some of the things.
Reply
#7

Yea seriously, and not necessarily GF either. The best thing you can do is examine other scripts and learn how they work. If you do this while building a gamemode from scratch it will be very beneficial to the learning process.
Reply
#8

Its easy:

At the top under includes:
Код:
new Cop[MAX_PLAYERS];
new Robbers[MAX_PLAYERS];
If you make a command for cops only:

if(Cop[playerid] == 1)
{
// the code for cop
}
else
{
// do with player if not a cop
}

I wil post a faction script soon
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)