24.12.2010, 00:45
pawn Код:
if(Profissao[playerid] == taxista)
{
}
else
{
SendClientMessage(playerid, 0xFFFFFFFF, "Vocк {FFA9A0}nгo{FFFFFF} й um {FFFFD0}taxista{FFFFFF}.");
RemovePlayerFromVehicle(playerid);
return 1;
}
}
pawn Код:
forward carrosdostaxistas(carid);
public carrosdostaxistas(carid)
{
if((carid == carrotaxi4) || (carid == carrotaxi3) || (carid == carrotaxi2) && (carid == carrotaxi1))
{
return 1;
}
return 0;
}
pawn Код:
carrotaxi1 = AddStaticVehicle(420,1275.42004395,-1378.50256348,13.06225109,0.00000000,6,1);
carrotaxi2 = AddStaticVehicle(420, 1275.45251465, -1371.34985352, 13.10084534, 0.00000000, 6, 1);
carrotaxi3 = AddStaticVehicle(420, 1275.45080566, -1364.33898926, 13.13850117, 0.00000000, 6, 1);
carrotaxi4 = AddStaticVehicle(420, 1275.46936035, -1357.24096680, 13.17673016, 0.00000000, 6, 1);