21.07.2013, 15:06
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;
}