20.11.2017, 18:27
Alguem pode achar o erro na linha do pGunLic ta dando
error: 036: empty statement
CMD:comprararma(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, 312.0516,-166.1417,999.6010))
{
if((PlayerInfo[playerid][pGunLic]) == 0);
{
SendClientMessage(playerid, 0xFF8000FF, "O atendente da Ammunation se recusa a vender armas sem o porte.");
return 1;
}
ShowPlayerDialog(playerid, DIALOG_MENU_DE_ARMAS, DIALOG_STYLE_LIST, "Menu de armas", "Armas branca\nPistolas\nEscopetas\nSub-Metralhadoras\nRifles de alto-calibre\nSnipers\nBombas\nUtilitбrios", "Abrir", "Sair");
}
return 1;
}
error: 036: empty statement
CMD:comprararma(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, 312.0516,-166.1417,999.6010))
{
if((PlayerInfo[playerid][pGunLic]) == 0);
{
SendClientMessage(playerid, 0xFF8000FF, "O atendente da Ammunation se recusa a vender armas sem o porte.");
return 1;
}
ShowPlayerDialog(playerid, DIALOG_MENU_DE_ARMAS, DIALOG_STYLE_LIST, "Menu de armas", "Armas branca\nPistolas\nEscopetas\nSub-Metralhadoras\nRifles de alto-calibre\nSnipers\nBombas\nUtilitбrios", "Abrir", "Sair");
}
return 1;
}