Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. CMD:irin(playerid, params[]) return ForT:esconderijo(playerid, params);
  2. CMD:esconderijo(playerid, params[])
  3. {
  4. if(IsPlayerConnected(playerid))
  5. {
  6. if (PlayerInfo[playerid][pAdmin] >= 1)
  7. {
  8. if(AdminTrabalhando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1342 && PlayerInfo[playerid][pAdmin] != 1341)
  9. {
  10. SendClientMessage(playerid, COR_GRAD1, "Você não está trabalhando! (/trabalhar)");
  11. return 1;
  12. }
  13. else
  14. {
  15. SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
  16. }
  17. SendClientMessage(playerid, COR_GRAD1, "Você foi teletransportado pelo Admin!");
  18. SetPlayerInterior(playerid,1);
  19. }
  20. else
  21. {
  22. SendClientMessage(playerid, COR_GRAD1, "Você não esta autorizado a usar este comando!!");
  23. }
  24. }
  25. return 1;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement