Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:t(playerid)
- {
- new model = GetVehicleModel(GetPlayerVehicleID(playerid));
- if(model == 403 || model == 514 || model == 515)
- {
- if(PlayerInfo[playerid][pClasse] == 1)
- {
- for(new i ; i < 43 ; i++)
- {
- if(GetVehicleTrailer(GetPlayerVehicleID(playerid)) == BauTrailer[i])
- {
- if(PlayerInfo[playerid][pWorking] == 1) return SendClientMessage(playerid,-1,"Você já está trabalhando !");
- new rand = random(sizeof(TBau));
- CriarTrabalho(playerid,TBau[rand][CarregarX],TBau[rand][CarregarY],TBau[rand][CarregarZ],TBau[rand][DescarregarX],TBau[rand][DescarregarY],TBau[rand][DescarregarZ],TBau[rand][nome_carga],TBau[rand][nome_rota],TBau[rand][pagamento],TBau[rand][mafia]);
- return 1;
- }else{
- SendClientMessage(playerid,-1,"Você não tem uma carga apropriada !");
- return 1;
- }
- }
- }else{
- SendClientMessage(playerid,-1,"Você não é caminhoneiro !");
- }
- }else{
- SendClientMessage(playerid,-1,"Você não está em um veiculo adequado !");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement