HEyho Leute ich habe hier einen Error aber habe keinen blassen schimmer woran es liegt...
if(strcmp("/waffenkammer", cmdtext, true) == 0)
{
if (IsPlayerInRangeOfPoint(playerid,3,-2646.1836,1423.6725,906.4609) && IsPlayerInFrac(playerid, 17)
|| IsPlayerInRangeOfPoint(playerid,3,-2166.8848,645.4419,1052.3750) && IsPlayerInFrac(playerid, 20)
|| IsPlayerInRangeOfPoint(playerid,3,2453.7017,-1705.9360,1013.5078) && IsPlayerInFrac(playerid, 13)
|| IsPlayerInRangeOfPoint(playerid,3,225.6148,1031.5760,1158.2133) && IsPlayerInFrac(playerid, 12)
|| IsPlayerInRangeOfPoint(playerid,3,1585.3815,-1676.4559,5.8968) && IsPlayerInFrac(playerid, 1) && SpielerInfo[playerid][pRank] >= 5
|| IsPlayerInRangeOfPoint(playerid,3,681.6464,-445.0547,16.3359) && IsPlayerInFrac(playerid, 21))
|| IsPlayerInRangeOfPoint(playerid,3,413.1251,2536.3540,19.1484) && IsPlayerInFrac(playerid, 18))
{
ShowPlayerDialog(playerid, DIALOG_KAMMER, DIALOG_STYLE_LIST, "Waffenkammer", "Waffen\nDrogen\nMaterialien", "Auswählen", "Abbrechen");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Du bist nicht an der Waffenkammer oder darfst es nicht!");
}
return 1;
}
C:\Users\Jan\Desktop\REALLIFE.pwn(40666) : error 029: invalid expression, assumed zero
C:\Users\Jan\Desktop\REALLIFE.pwn(40666) : error 001: expected token: ";", but found ")"
C:\Users\Jan\Desktop\REALLIFE.pwn(40666) : error 029: invalid expression, assumed zero
C:\Users\Jan\Desktop\REALLIFE.pwn(40666) : fatal error 107: too many error messages on one line
Sind die Errors und die betroffene Line ist:
|| IsPlayerInRangeOfPoint(playerid,3,413.1251,2536.3540,19.1484) && IsPlayerInFrac(playerid, 18))