Help, faction hopping.
#1

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
Reply
#2

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.
Reply
#3

lmfao nice PR-RP script
Reply
#4

Quote:
Originally Posted by KeeDee
Посмотреть сообщение
lmfao nice PR-RP script
why all your posts are useless?
Reply
#5

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 ?
Reply
#6

it's either you adjust when using the command or change how they save.
Reply
#7

How to the change the saving
/ loading, that's what I mean.
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)