Help, faction hopping. -
The__ - 22.03.2012
I have a little problem, let me explain.
[Yes, it's a godfather edit.]
I give someone a faction slot, some gang slot for example.
He is the leader and all, he changes ranks and all that shit.
Let's say I gave him faction number 9.
If I /gmx, all the data passes to faction number 10.
Here's code:
http://pastebin.com/WXtPnuaM
Re: Help, faction hopping. -
Skribblez - 22.03.2012
it's because, on the godfather script, saving starts from id 0.
meaning:
if you type for example, /makeleader playerid 5, you're actually giving him faction 4 since they save as "0, 1, 2, 3, 4..."
that's why the default value for the variable used is 999, i hope this makes sense.
edit: by the way, i suggest that you use or edit a better script such as calgon's vortex roleplay. the godfather gamemode is way too old and somewhat generic.
Re : Help, faction hopping. -
KeeDee - 22.03.2012
lmfao nice PR-RP script
Re: Re : Help, faction hopping. -
admantis - 23.03.2012
Quote:
Originally Posted by KeeDee
lmfao nice PR-RP script
|
why all your posts are useless?
Re: Help, faction hopping. -
The__ - 23.03.2012
Quote:
Originally Posted by Skribblez
it's because, on the godfather script, saving starts from id 0.
meaning:
if you type for example, /makeleader playerid 5, you're actually giving him faction 4 since they save as "0, 1, 2, 3, 4..."
that's why the default value for the variable used is 999, i hope this makes sense.
edit: by the way, i suggest that you use or edit a better script such as calgon's vortex roleplay. the godfather gamemode is way too old and somewhat generic.
|
Is there any soultion to it ?
Re: Help, faction hopping. -
Skribblez - 23.03.2012
it's either you adjust when using the command or change how they save.
Re: Help, faction hopping. -
The__ - 23.03.2012
How to the change the saving
/ loading, that's what I mean.
Re: Help, faction hopping. -
The__ - 23.03.2012
Sorry for bumping.
Can anyone help me convert it to DINI ? I have DOF2 to convert dini to DOF2 so if only someone could convert it to DINI I'd be grateful.