08.04.2011, 02:02
I just want to change the TextDraw string to random... Cargo or Passengers
but i will get erros... because the
Any ideas on how i can do it? :i
but i will get erros... because the
pawn Код:
case 0: "Passengers"
pawn Код:
COMMAND:job(playerid, params[])
{
new string[128];
new rand1 = random(4);
switch(rand1)
{
case 0: "Passengers"
case 1: "Cargo"
case 3: "Passengers"
case 4: "Cargo"
}
TextDrawShowForPlayer(playerid, TruckerInfo[playerid]);
format(string, sizeof(string), "Transport need to transport %s", rand1);
TextDrawSetString(TruckerInfo[playerid] ,string);
return 1;
}