DUDB dont work very wel..
#1

Hi, ive got problems with my account system.
I use DUDB, that needs DINI and DUTILS from Draconblue. I made my account sytem with a dutch tutorial of =>Sandra<=.
But now, sometimes, the money and adminlevel reset! I do nothing and suddenly i'm not an admin anymore and i must change that all again. How can i prevent this bug? (PS, its also by other players. They are adminlevel 1(mini moderator) and suddenly thay are level 3(max admin))

I hope that somebody can help me, because this makes me not very happy
Reply
#2

Can you show the code u are using? (Host on pastebin)
Reply
#3

Quote:
Originally Posted by Rk_
Can you show the code u are using? (Host on pastebin)
Give me a second

EDIT:
My usage:
LINK

Sandras tut:
LINK
The tut from sandra is dutch, because i had this from the dutch GTAForum.nl. I translated my version only.
Reply
#4

What do you have at OnPlayerSpawn?
Reply
#5

Nothing special, only some on/off switches, preload anims and health+armour.
Код:
public OnPlayerSpawn(playerid)
{
	DM[playerid] = 0;
	Area69melding[playerid] = 0;
	UitAutoKunnen[playerid] = 1;
	SetPlayerArmour(playerid, 100.0);
	SetPlayerHealth(playerid, 100.0);
	if(!gPlayerAnimLibsPreloaded[playerid]) {
  		PreloadAnimLib(playerid,"BOMBER");
  		PreloadAnimLib(playerid,"RAPPING");
  	PreloadAnimLib(playerid,"SHOP");
  		PreloadAnimLib(playerid,"BEACH");
  		PreloadAnimLib(playerid,"SMOKING");
  	PreloadAnimLib(playerid,"FOOD");
  	PreloadAnimLib(playerid,"ON_LOOKERS");
  	PreloadAnimLib(playerid,"DEALER");
		PreloadAnimLib(playerid,"CRACK");
		PreloadAnimLib(playerid,"CARRY");
		PreloadAnimLib(playerid,"COP_AMBIENT");
		PreloadAnimLib(playerid,"PARK");
		PreloadAnimLib(playerid,"INT_HOUSE");
		PreloadAnimLib(playerid,"FOOD");
		gPlayerAnimLibsPreloaded[playerid] = 1;
	}
	IsInHydra[playerid] = false;
	return 1;
}
Reply
#6

the gm does ResetPlayerMoney, which gm are you using?
Reply
#7

Quote:
Originally Posted by Rk_
the gm does ResetPlayerMoney, which gm are you using?
2451 rules my own, only the admin script not and some scripts wich i had help by. And i use none resetplayermoney in my whole server, not in my GM, not in filterscripts.
Reply
#8

Anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)