Hei ich habe einen error das ist der Code
C:\Users\Andy\Desktop\Diamond Roleplay\gamemodes\diamond.pwn(21219) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Zeile: 21219
else
Script Code:
if(strcmp(cmd,"/shop",true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,312.0457,-165.7963,999.6010))
{
if(PlayerInfo[playerid][pGunLic] == 0)
{
SendClientMessage(playerid, COLOR_GREY, "Du hast keinen Waffenschein !");
return 1;
}
{
ShowPlayerDialog(playerid, DIALOG_SHOP, DIALOG_STYLE_LIST, "Waffenshop", "Deagle : 2.500$\nM4 : 3.450$\nAK47 : 3.604$\nMP5 : 3.100$\nKnife : 20.050$\nArmour : 2.000$\nSchrotflinte : 1.792$", "Auswählen", "Abbruch");
}
else
{
SendClientMessage(playerid, ROT, "Du bist nicht im Ammunation!");
}
}
return 1;
}