AloneZ

Untitled

Jul 21st, 2015
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.61 KB | None | 0 0
  1.     if(rouboucarro[playerid] == 1 || PlayerToPoint(2.0,playerid,2749.9712,-2226.4041,16.1875))
  2.     {
  3.         if(IsPlayerInAnyVehicle(playerid))
  4.         {
  5.              new vid = GetPlayerVehicleID(playerid);
  6.              SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você vendeu o carro roubado e [R$40.000] foram adicionados em seu salário.");
  7.              SetPlayerCriminal(playerid,255, "Art. 157 - Furto Qualificado");
  8.              GameTextForPlayer(playerid,"~r~carro roubado vendido !", 5000, 1);
  9.              GivePlayerMoney(playerid, 40000);
  10.              rouboucarro[playerid] = 0;
  11.              SetVehicleToRespawn(vid);
  12.         }
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment