BankRob System [+REP]
#1

Hello members of Sa-mp

I've got a NG:RP gamemode, now i want to have a robbank system. I already used the Search option but I cant find a bank system. I want a robbank in zCMD (CMD:robbank)

Please help me, I will give you +REP

Thanks in advance!
Reply
#2

Here you go
pawn Код:
COMMAND:robbank(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 3, robX, robY, robZ))
    {
        if(RobBank == 1)
        {
            SetTimer("RobbingBank", 600000, false);
            SendClientMessage(playerid, COLOR_YELLOW, "You have initiated the bank robbery, 10 minutes left!");
        }
    }
    return 1;
}
Then just forward the public function "RobbingBank", and give him the money + a checkpoint to money-wash the money (OPTIONAL, your choice)
Reply
#3

@Sandiel, Im not so good in scripting so I dont know what to do, thanks for try to help +rep.
Reply
#4

Quote:
Originally Posted by AarabMoney
Посмотреть сообщение
@Sandiel, Im not so good in scripting so I dont know what to do, thanks for try to help +rep.
Easy, use ZCMD include and add this to OnPlayerCommandText public.
Reply
#5

Quote:
Originally Posted by AarabMoney
Посмотреть сообщение
@Sandiel, Im not so good in scripting so I dont know what to do, thanks for try to help +rep.
Try to understand how timers work, then you'll get it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)