[HELP] Random money between 50k-100k
#6

Quote:
Originally Posted by Kitten
Посмотреть сообщение
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/robsex", cmdtext, true, 10) == 0)
    {
        new rand = random(50000)+45000;
        GivePlayerMoney(playerid, rand);
    SetTimer("Sex",300000,true);
        }
        else
        }
        SendClientMessage(playerid,COLOR_DARKRED,"The sex shop have recendly been robbed!");
    return 1;
    }

forward Sex(playerid);
public Sex(playerid)
{
    SendClientMessage(playerid,COLOR_DARKRED,"SHOP IS ALREADY ROBED");
    //blah //blah whatever else u want to feature for this
That dont work very well, I can rob the sex shop like 50 times and then this text come up "The sex shop have recendly been robbed!" After that i can keep robbing
Reply


Messages In This Thread
[HELP] Rob random money between 50k-100k - by Larsey123IsMe - 14.11.2010, 14:15
Re: [HELP] Random money between 50k-100k - by Larsey123IsMe - 14.11.2010, 21:16
Re: [HELP] Random money between 50k-100k - by willsuckformoney - 14.11.2010, 21:21
Re: [HELP] Random money between 50k-100k - by Larsey123IsMe - 14.11.2010, 21:33
Re: [HELP] Random money between 50k-100k - by Kitten - 14.11.2010, 21:40
Re: [HELP] Random money between 50k-100k - by Larsey123IsMe - 14.11.2010, 21:49
Re: [HELP] Random money between 50k-100k - by Larsey123IsMe - 15.11.2010, 00:25
Re: [HELP] Random money between 50k-100k - by mmrk - 15.11.2010, 05:15
Re: [HELP] Random money between 50k-100k - by Larsey123IsMe - 15.11.2010, 12:32
Re: [HELP] Random money between 50k-100k - by Larsey123IsMe - 15.11.2010, 13:27

Forum Jump:


Users browsing this thread: 3 Guest(s)