Need help with jobs.
#4

pawn Код:
CMD:startjob(playerid)
{
    new job = random(10); // This will get something between 0 and 9
    switch(job) // Make a switch for job, it works like else if
    {
        case 0:
        {
            // Things that will happen if the job is 0...
        }
        case 1:
        {
            // Things of job 2...
        }
        // And there you'll go...
    }
    return 1;
}
Reply


Messages In This Thread
Need help with jobs. - by ThaCrypte - 21.07.2013, 13:19
Re: Need help with jobs. - by Threshold - 21.07.2013, 13:38
Re: Need help with jobs. - by ThaCrypte - 21.07.2013, 15:01
Re: Need help with jobs. - by arakuta - 21.07.2013, 15:06

Forum Jump:


Users browsing this thread: 2 Guest(s)