AloneZ

Comando /meuskin

Aug 3rd, 2015
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.92 KB | None | 0 0
  1. if(strcmp(cmd, "/meuskin", true) == 0)
  2.     {
  3.         if(PlayerToPoint(10.0,playerid,205.1173,-159.3505,1000.5234) || PlayerToPoint(10.0,playerid,207.9093,-104.6899,1005.1328) || PlayerToPoint(3.0,playerid,414.1574,2536.4773,10.00008) || PlayerToPoint(50.0,playerid,162.6288,-86.3102,1001.8047))
  4.         {
  5.             if(IsPlayerConnected(playerid))
  6.             {
  7.                 if(PlayerInfo[playerid][pSex] == 1)
  8.                 {
  9.                     ShowModelSelectionMenu(playerid, skinlistm, "Compre sua Skin");
  10.                     return 1;
  11.                 }
  12.                 if(PlayerInfo[playerid][pSex] == 2)
  13.                 {
  14.                     ShowModelSelectionMenu(playerid, skinlistf, "Compre sua Skin");
  15.                     return 1;
  16.                 }
  17.             }
  18.         }
  19.         else
  20.         {
  21.             SendClientMessage(playerid, COLOR_GREY, "Você não está no colete azul que fica dentro da loja de roupas !");
  22.             return 1;
  23.         }
  24.         return 1;
  25.     }
Advertisement
Add Comment
Please, Sign In to add comment