Advertisement
Guest User

Untitled

a guest
Mar 18th, 2011
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 KB | None | 0 0
  1. /*if(strcmp(cmd, "/jaula", true) == 0)
  2. {
  3. if(IsPlayerConnected(playerid))
  4. {
  5. if(gTeam[playerid] == 5)
  6. {
  7. if(!PlayerToPoint(5.0, playerid,2524.9531,-1667.9755,15.0812) || PlayerToPoint(5.0,playerid,2338.3870,-1193.4036,27.9766) || PlayerToPoint(5.0,playerid,1922.1262,-1100.9767,26.0729) || PlayerToPoint(5.0,playerid,1907.0870,-2020.7899,13.5469))
  8. {
  9. SendClientMessage(playerid, COLOR_GRAD2,"Você não está perto da jaula para abrí-la!");
  10. return 1;
  11. }
  12. if(!PlayerInfo[playerid][pCargo] >= 4)
  13. {
  14. SendClientMessage(playerid, COLOR_GRAD2, "Você precisa ser cargo 4 ou maior!");
  15. return 1;
  16. }
  17. MoveObject(JAztecas,1919.87792969,-1097.82226562,30.18795586, 3);
  18. SetTimer(FecharJAztecas, 5000, false);
  19. return 1;
  20. }
  21. {
  22. if(gTeam[playerid] == 15)
  23. }
  24. if(!PlayerInfo[playerid][pCargo] >= 4)
  25. }
  26. SendClientMessage(playerid, COLOR_GRAD2, "Você precisa ser cargo 4 ou maior!");
  27. return 1;
  28. {
  29. if(!PlayerToPoint(5.0, playerid,2524.9531,-1667.9755,15.0812) || PlayerToPoint(5.0,playerid,2338.3870,-1193.4036,27.9766) || PlayerToPoint(5.0,playerid,1922.1262,-1100.9767,26.0729) || PlayerToPoint(5.0,playerid,1907.0870,-2020.7899,13.5469))
  30. {
  31. SendClientMessage(playerid, COLOR_GRAD2,"Você não está perto da jaula para abrí-la!");
  32. return 1;
  33. }
  34. MoveObject(JGrove,2526.54370117,-1668.47753906,19.40628815, 3);
  35. SetTimer(FecharJGrove, 5000, false);
  36. return 1;
  37. }
  38. if(gTeam[playerid] == 18)
  39. }
  40. if(!PlayerInfo[playerid][pCargo] >= 4)
  41. }
  42. SendClientMessage(playerid, COLOR_GRAD2, "Você precisa ser cargo 4 ou maior!");
  43. return 1;
  44. {
  45. if(!PlayerToPoint(5.0, playerid,2524.9531,-1667.9755,15.0812) || PlayerToPoint(5.0,playerid,2338.3870,-1193.4036,27.9766) || PlayerToPoint(5.0,playerid,1922.1262,-1100.9767,26.0729) || PlayerToPoint(5.0,playerid,1907.0870,-2020.7899,13.5469))
  46. {
  47. SendClientMessage(playerid, COLOR_GRAD2,"Você não está perto da jaula para abrí-la!");
  48. return 1;
  49. }
  50. MoveObject(JBallas,2340.00781250,-1195.17578125,32.13838959,3);
  51. SetTimer(FecharJBallas, 5000, false);
  52. return 1;
  53. }
  54. if(gTeam[playerid] == 19)
  55. }
  56. if(!PlayerInfo[playerid][pCargo] >= 4)
  57. }
  58. SendClientMessage(playerid, COLOR_GRAD2, "Você precisa ser cargo 4 ou maior!");
  59. return 1;
  60. {
  61. if(!PlayerToPoint(5.0, playerid,2524.9531,-1667.9755,15.0812) || PlayerToPoint(5.0,playerid,2338.3870,-1193.4036,27.9766) || PlayerToPoint(5.0,playerid,1922.1262,-1100.9767,26.0729) || PlayerToPoint(5.0,playerid,1907.0870,-2020.7899,13.5469))
  62. {
  63. SendClientMessage(playerid, COLOR_GRAD2,"Você não está perto da jaula para abrí-la!");
  64. return 1;
  65. }
  66. MoveObject(JVagos,1908.48437500,-2019.85839844,17.75869179, 3);
  67. SetTimer(FecharJVagos, 5000, false);
  68. return 1;
  69. }
  70. }
  71. return 1; }
  72. }
  73. return 1;
  74.  
  75. OLHA OS ERROS
  76. 18232) : warning 213: tag mismatch
  77. 18238) : error 076: syntax error in the expression, or invalid function call
  78. 18243) : error 029: invalid expression, assumed zero
  79. 18243 -- 18244) : warning 215: expression has no effect
  80. 18244) : error 001: expected token: ";", but found "if"
  81. 18244) : warning 213: tag mismatch
  82. 18245) : error 029: invalid expression, assumed zero
  83. 18248) : warning 225: unreachable code
  84. 18255) : error 076: syntax error in the expression, or invalid function call
  85. 18258) : warning 225: unreachable code
  86. 18259) : error 029: invalid expression, assumed zero
  87. 18259 -- 18260) : warning 215: expression has no effect
  88. 18260) : error 001: expected token: ";", but found "if"
  89. 18260) : warning 213: tag mismatch
  90. 18261) : error 029: invalid expression, assumed zero
  91. 18264) : warning 225: unreachable code
  92. 18271) : error 076: syntax error in the expression, or invalid function call
  93. 18274) : warning 225: unreachable code
  94. 18275) : error 029: invalid expression, assumed zero
  95. 18275 -- 18276) : warning 215: expression has no effect
  96. 18276) : error 001: expected token: ";", but found "if"
  97. 18276) : warning 213: tag mismatch
  98. 18277) : error 029: invalid expression, assumed zero
  99. 18280) : warning 225: unreachable code
  100. 18287) : error 076: syntax error in the expression, or invalid function call
  101. 18291) : warning 225: unreachable code
  102. 18295) : warning 225: unreachable code
  103. 37443) : warning 202: number of arguments does not match definition
  104. 37443) : warning 202: number of arguments does not match definition
  105. Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
  106.  
  107.  
  108. 13 Errors.*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement