will pay for this to be made
#3

pawn Код:
new sweeperjob[50];

//under gamemode init
 sweeperjob[0] = createveh/addstatic/addstatex(vehiclespawninfo);
 //49 later.....
sweeperjob[49] = createveh/addstatic/addstatex(vehiclespawninfo);

//under onplayerentervehicle
if(SweeperRide(vehicleid))
{
new sj;
sj = SetTimerEx("sweepjob", 60000, true, "i", playerid);
}
//under
//onplayerexitvehicle && onplayerdeath
killertimer(sj);

forward sweepjob(playerid);

public sweepjob(playerid)
{

GivePlayerMoney(playerid, 150);
 }
 return 1;
}

stock SweeperRide(vehicleid)
{
    for(new i=0; i<50; i++)
    {
        if(vehicleid == sweeperjob[i]) return 1;
    }
    return 0;
}
Need more detailed help or even other ways of doing give me a message if i havent fall asleep i may help u
Reply


Messages In This Thread
will pay for this to be made - by NinjaChicken - 29.11.2012, 04:57
Re: will pay for this to be made - by dr.lozer - 29.11.2012, 05:16
Re: will pay for this to be made - by Glad2BeHere - 29.11.2012, 05:29

Forum Jump:


Users browsing this thread: 1 Guest(s)