Is this possible?
#1

Is it possible to have a system where if a player wins big money in the casino, it will show a notification to the admins showing how much they have won?
Reply
#2

Yes it is.
Reply
#3

Anyone know how?
Reply
#4

Do you mean these machines from four dragon casino, which has been created by GTA?
Reply
#5

Something like:
pawn Код:
public ABroadCast(color,const string[])
{
    foreach(new i : Player)
    {
            if (PlayerInfo[i][pAdmin] >= 1)
            {
                SendClientMessage(i, color, string);
            }
    }
    return 1;
}
Basically you would make the string, and then send it to admins like this:
pawn Код:
format(string, 256, "[Winning]: [%d]%s has won $%d",playerid, playername,money);
ABroadCast(COLOR_RED,string);
Reply
#6

Quote:
Originally Posted by Skimmer
Посмотреть сообщение
Do you mean these machines from four dragon casino, which has been created by GTA?
Correct.
Reply
#7

Well you can't detect if they won money by using the casino, but you can detect if:

1. They earned money
2. Check if they are near a casino machine at the time they earned the money
3. If so, send message to admins.

Not 100% accurate, but it would do the job
Reply
#8

Quote:
Originally Posted by DJ_Shocker
Посмотреть сообщение
Something like:
pawn Код:
public ABroadCast(color,const string[])
{
    foreach(new i : Player)
    {
            if (PlayerInfo[i][pAdmin] >= 1)
            {
                SendClientMessage(i, color, string);
            }
    }
    return 1;
}
Basically you would make the string, and then send it to admins like this:
pawn Код:
format(string, 256, "[Winning]: [%d]%s has won $%d",playerid, playername,money);
ABroadCast(COLOR_RED,string);
So would this work for the machines in 4d?
Reply
#9

well it would send the message, but as far as actually making the entire system, That's up to you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)