DUDB dont work very wel.. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: DUDB dont work very wel.. (
/showthread.php?tid=70315)
DUDB dont work very wel.. -
Remi-X - 23.03.2009
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
Re: DUDB dont work very wel.. -
Rks25 - 23.03.2009
Can you show the code u are using? (Host on pastebin)
Re: DUDB dont work very wel.. -
Remi-X - 23.03.2009
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.
Re: DUDB dont work very wel.. -
Rks25 - 23.03.2009
What do you have at OnPlayerSpawn?
Re: DUDB dont work very wel.. -
Remi-X - 24.03.2009
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;
}
Re: DUDB dont work very wel.. -
Rks25 - 24.03.2009
the gm does ResetPlayerMoney, which gm are you using?
Re: DUDB dont work very wel.. -
Remi-X - 24.03.2009
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.
Re: DUDB dont work very wel.. -
Remi-X - 25.03.2009
Anyone?