Hallo
Wisst ihr villt. wo mein fehler liegt?
(32645) : error 012: invalid function call, not a valid address
(32645) : warning 215: expression has no effect
(32645) : error 001: expected token: ";", but found ")"
(32645) : error 029: invalid expression, assumed zero
CMD:lspd(playerid, params[])
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
if (IsPlayerInRangeOfPoint(playerid,3,255.3,77.4,1003.6) || IsPlayerInRangeOfPoint(playerid,3,-1616.1294,681.1594,7.1875) || IsPlayerInRangeOfPoint(playerid,3,327.05, 306.81, 999.14) || IsPlayerInRangeOfPoint(playerid,3,264.29, 109.84, 1004.62) || IsPlayerInRangeOfPoint(playerid, 5.0, -2043.527832, -189.208435, 985.183105) || IsPlayerInRangeOfPoint(playerid, 5.0, 1112.7, -2055.8, 1409.7))
{
new string[128];
format(string,sizeof(string),"%d", Crate1(playerid);
ShowPlayerDialog(playerid, DUTYMENU, DIALOG_STYLE_LIST, string,"Duty\nEquipment\nSWAT\nUniform\nUndercover\nClear Suspect", "Select", "Cancel");
}
else
{
SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your LSPD lockers.");
}
}
return 1;
}
Danke