Help me
#1

how to make this to not random ?
i have this script
pawn Код:
new Gangid = random(100);
dini_IntSet(gFile(params),"GangID",Gangid);
i mean when i create a gang , gangid will be created from 1 to 100 , not a random
like a Player a create gang Test gangid 1
player b create gang Test2 gangid 2

sorry for bad english
Thanks Rep ++ for helped
Reply
#2

You could do this
pawn Код:
new totalgangs;

//when player crates a gang

dini_IntSet(gFile(params),"GangID",totalgangs);
totalgangs += 1;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)