GiveCash Dialog??
#1

Hi, is there a script to givecash through dialogue??
Reply
#2

https://sampwiki.blast.hk/wiki/How_to_Create_a_Dialog That should help you instead of asking others to do it for you, you can just make it yourself..
Reply
#3

do not know in the dialogue
Reply
#4

Help me??
Reply
#5

Please Help me
Reply
#6

PM me to get more info about this work , i will script it for u
Reply
#7

You don't necessarily need a dialog. You can make a simple one like this :
pawn Код:
COMMAND:givemoney(playerid, params[])
{
    if (IsPlayerAdmin(playerid))
    {
        new
          toplayerid, // the player we want to give money to
          amount;
        // extracting player's ID and amount from params
        if (!sscanf(params, "ii", toplayerid, amount))
        {
          if (toplayerid != INVALID_PLAYER_ID)
          {
            new
              message[40];
            GivePlayerMoney(toplayerid, amount);
            format(message, sizeof(message), "You got $%d from admin!", amount);
            SendClientMessage(toplayerid, 0x00FF00FF, message);
          }
          else SendClientMessage(playerid, 0xFF0000FF, "That player is not connected");
        }
        else SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /givemoney <playerid> <amount>");
    }
    else SendClientMessage(playerid, 0xFF0000FF, "Only admins can use this command!");
    return 1;
}
Source : https://sampforum.blast.hk/showthread.php?tid=91354
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)