Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*if(strcmp(cmd, "/jaula", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- if(gTeam[playerid] == 5)
- {
- 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))
- {
- SendClientMessage(playerid, COLOR_GRAD2,"Você não está perto da jaula para abrí-la!");
- return 1;
- }
- if(!PlayerInfo[playerid][pCargo] >= 4)
- {
- SendClientMessage(playerid, COLOR_GRAD2, "Você precisa ser cargo 4 ou maior!");
- return 1;
- }
- MoveObject(JAztecas,1919.87792969,-1097.82226562,30.18795586, 3);
- SetTimer(FecharJAztecas, 5000, false);
- return 1;
- }
- {
- if(gTeam[playerid] == 15)
- }
- if(!PlayerInfo[playerid][pCargo] >= 4)
- }
- SendClientMessage(playerid, COLOR_GRAD2, "Você precisa ser cargo 4 ou maior!");
- return 1;
- {
- 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))
- {
- SendClientMessage(playerid, COLOR_GRAD2,"Você não está perto da jaula para abrí-la!");
- return 1;
- }
- MoveObject(JGrove,2526.54370117,-1668.47753906,19.40628815, 3);
- SetTimer(FecharJGrove, 5000, false);
- return 1;
- }
- if(gTeam[playerid] == 18)
- }
- if(!PlayerInfo[playerid][pCargo] >= 4)
- }
- SendClientMessage(playerid, COLOR_GRAD2, "Você precisa ser cargo 4 ou maior!");
- return 1;
- {
- 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))
- {
- SendClientMessage(playerid, COLOR_GRAD2,"Você não está perto da jaula para abrí-la!");
- return 1;
- }
- MoveObject(JBallas,2340.00781250,-1195.17578125,32.13838959,3);
- SetTimer(FecharJBallas, 5000, false);
- return 1;
- }
- if(gTeam[playerid] == 19)
- }
- if(!PlayerInfo[playerid][pCargo] >= 4)
- }
- SendClientMessage(playerid, COLOR_GRAD2, "Você precisa ser cargo 4 ou maior!");
- return 1;
- {
- 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))
- {
- SendClientMessage(playerid, COLOR_GRAD2,"Você não está perto da jaula para abrí-la!");
- return 1;
- }
- MoveObject(JVagos,1908.48437500,-2019.85839844,17.75869179, 3);
- SetTimer(FecharJVagos, 5000, false);
- return 1;
- }
- }
- return 1; }
- }
- return 1;
- OLHA OS ERROS
- 18232) : warning 213: tag mismatch
- 18238) : error 076: syntax error in the expression, or invalid function call
- 18243) : error 029: invalid expression, assumed zero
- 18243 -- 18244) : warning 215: expression has no effect
- 18244) : error 001: expected token: ";", but found "if"
- 18244) : warning 213: tag mismatch
- 18245) : error 029: invalid expression, assumed zero
- 18248) : warning 225: unreachable code
- 18255) : error 076: syntax error in the expression, or invalid function call
- 18258) : warning 225: unreachable code
- 18259) : error 029: invalid expression, assumed zero
- 18259 -- 18260) : warning 215: expression has no effect
- 18260) : error 001: expected token: ";", but found "if"
- 18260) : warning 213: tag mismatch
- 18261) : error 029: invalid expression, assumed zero
- 18264) : warning 225: unreachable code
- 18271) : error 076: syntax error in the expression, or invalid function call
- 18274) : warning 225: unreachable code
- 18275) : error 029: invalid expression, assumed zero
- 18275 -- 18276) : warning 215: expression has no effect
- 18276) : error 001: expected token: ";", but found "if"
- 18276) : warning 213: tag mismatch
- 18277) : error 029: invalid expression, assumed zero
- 18280) : warning 225: unreachable code
- 18287) : error 076: syntax error in the expression, or invalid function call
- 18291) : warning 225: unreachable code
- 18295) : warning 225: unreachable code
- 37443) : warning 202: number of arguments does not match definition
- 37443) : warning 202: number of arguments does not match definition
- Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
- 13 Errors.*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement