SA-MP Forums Archive
dudb saves - 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 saves (/showthread.php?tid=164581)



dudb saves - Kevin_Joshen - 01.08.2010

Could anyone please tell me about how dudb works to save weapons?

What i want to do (to maybe help you with what to tell me) is to have a player type /minigundm
then have them go into the minigun Deathmatch, but i want when they exit the dm for them to get their weapons that they had before they entered the dm back.

I was told i need to "create a variable in dudb to save their weapons" but i dont know how to do that.

as well as i would like to know how to save their money, score, and kills and deaths.


Thank you!
-Kevin

PS i have looked around long and hard, but found nothing to help me. I am sorta a new guy here so please understand that i am new to this sorta scripting and i learn with a more "hands on" approach. Thank You.



Re: dudb saves - Kevin_Joshen - 02.08.2010

bump i really need help with this guys. There arent any real hands on helpful tutorials.


Re: dudb saves - Kevin_Joshen - 02.08.2010

Does no one know anything about this? XD

But really, i need to save player money, guns, and score.... can someone please just help me?


Re: dudb saves - cofy1 - 02.08.2010

You can use the L Admin or LuxAdmin, for me are the best admin script and save score, money, weapons, etc.


Re: dudb saves - Kevin_Joshen - 02.08.2010

.....yes, but they dont work with my server. but ok, ill try them... (ill have to replace their login/register with a dialogue one)


Re: dudb saves - Saurik - 02.08.2010

i will agree with cofy1,

If your not experienced with dubd you might as well use ladmin


Re: dudb saves - cofy1 - 02.08.2010

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmd, "/minigundm", true) == 0)
    {
        SetPlayerPos(...);//Put the coords
        GivePlayerWeapon(playerid, 38, 999);
        SendClientMessage(playerid, COLOR, "You enter Minigun DM");
        return 1;
    }
    return 1;
}



Re: dudb saves - cofy1 - 02.08.2010

If you want than LuxAdmin work in your server, you need plugin Whirlpool.dll


Re: dudb saves - cofy1 - 02.08.2010

https://sampforum.blast.hk/showthread.php?tid=161491