16.01.2013, 13:08
Ajuda comando portгo deu 14 Warnings - warning 202: number of arguments does not match definition
code abaixo:
Linhas das Warnings
32528 - if(PlayerToPoint(15.0, playerid, 985, 2461.21, -1655.70, 13.77, 0.00, 0.00, 93.24))
32530 - F_MoveObject( pgroove1, 985, 2461.50, -1662.80, 13.77, 0.00, 0.00, 274.14);
32534 - else if(PlayerToPoint(15.0, playerid, 985, 2460.58, -1649.93, 13.77, 0.00, 0.00, 94.40)
32536 - F_MoveObject( pgroove2, 985, 2462.13, -1668.61, 13.77, 0.00, 0.00, 274.14);
Obrigado
code abaixo:
pawn Код:
if(strcmp(cmd, "/pgro", true) == 0)
{
if (PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14)
{
if(PlayerToPoint(15.0, playerid, 985, 2461.21, -1655.70, 13.77, 0.00, 0.00, 93.24))
{
F_MoveObject( pgroove1, 985, 2461.50, -1662.80, 13.77, 0.00, 0.00, 274.14);
GameTextForPlayer(playerid, "~w~Portao Groove ~n~~b~Aberto", 5000, 3);
SetTimer("fechargroove1", 5000, false);
}
else if(PlayerToPoint(15.0, playerid, 985, 2460.58, -1649.93, 13.77, 0.00, 0.00, 94.40))
{
F_MoveObject( pgroove2, 985, 2462.13, -1668.61, 13.77, 0.00, 0.00, 274.14);
GameTextForPlayer(playerid, "~w~Portao Groove ~n~~b~Aberto", 5000, 3);
SetTimer("fechargroove2", 5000, false);
}
}
return 1;
}
32528 - if(PlayerToPoint(15.0, playerid, 985, 2461.21, -1655.70, 13.77, 0.00, 0.00, 93.24))
32530 - F_MoveObject( pgroove1, 985, 2461.50, -1662.80, 13.77, 0.00, 0.00, 274.14);
32534 - else if(PlayerToPoint(15.0, playerid, 985, 2460.58, -1649.93, 13.77, 0.00, 0.00, 94.40)
32536 - F_MoveObject( pgroove2, 985, 2462.13, -1668.61, 13.77, 0.00, 0.00, 274.14);
Obrigado