Factions from cfg
#1

Hey, im working on a rp script for my friend, and he wants factions thats made in cfg files etc.

So he can edit the cfg files and create new and delete factions etc.

He can already save the factions into a player save file, i just need fread and fwrite and that stuff so it reads from the cfg...

If you understand what i mean, please help us out
Reply
#2

Kind of like it loads the factions from a cfg file, the cfg file would be called 1, 2, 3, 4, 5, etc.
Inside, it would be like this:
FACTION NAME|SPAWN X|SPAWN Y|SPAWN Z|SPAWN ANGLE|RANK 1 NAME|RANK 1 SKIN|RANK 2 NAME|RANK 2 SKIN|RANK 3 NAME|RANK 3 SKIN

Etc, so like this:
LSPD|183.2372|382.2817|102.2919|183.3812|Chief|1|D eputy Chief|2|Cadet|3
Reply
#3

So anyone knows how to do this?
Reply
#4

Bump.
Reply
#5

Bump.
Reply
#6

You cannot bump that early after you post.
Reply
#7

Quote:
Originally Posted by MenaceX^
You cannot bump that early after you post.
If you use your eyes you notice it wasnt me who made the first bump.

And please come up with something better than complains
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)