19.09.2010, 11:40
Correction:
Much better imo
And yes, indentation is fucked.. CBA to fix it up
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp("/work", cmdtext, true))
{
new rand = random(3); // make this as high as you want.. depends on how much missions you want.
switch(rand)
{
case 0:
{
SendClientMessage(playerid, 0xFFFF00AA,"You are delivering Waste from Los Santos Airport to Landfill");
SetPlayerCheckpoint(playerid, -694.9723, -1906.2748, 11.6886, 10.0);
{
case 1:
{
//other stuff here
}
case 2:
{
// any other stuff here
}
}
return 1;
}
return 0;
}
And yes, indentation is fucked.. CBA to fix it up

