Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. if((ChecarNick(vehOwnerName[vehicleid],PlayerName(playerid)) == 1)){
  2. format(buffer, sizeof(buffer), "Olá, %s, este veículo pertence a você, bem-vindo(a)!", vehOwnerName[vehicleid]);
  3. SendClientMessage(playerid, COR_AMARELO, buffer);
  4. }
  5. if((ChecarNick(vehOwnerName[vehicleid],PlayerName(playerid)) == 0)){
  6. format(buffer, sizeof(buffer), "Este veículo é de: %s, você não pode pegá-lo digite /sair ou peça pro dono liberar!", vehOwnerName[vehicleid]);
  7. SendClientMessage(playerid, COR_AMARELO, buffer);
  8. TogglePlayerControllable(playerid,0);
  9. Fucked[playerid] = 1;
  10. for(new i=0; i<MAX_PLAYERS; i++) {
  11. if((ChecarNick(vehOwnerName[vehicleid],PlayerName(i)) == 1)){
  12. new stringfdp[256];
  13. format(stringfdp, sizeof(stringfdp), "%s está tentando pegar seu veículo, se você estiver perto do player, digite /liberarveiculo!", PlayerName(playerid));
  14. SendClientMessage(i, COR_AMARELO, stringfdp);
  15. }
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement