Hey,
Was ist an diesem Befehl Falsch , kriege da Errors
if(strcmp(cmd, "/armorpoint", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,30.0,725.3989,-1462.9933,22.2109) || IsPlayerInRangeOfPoint(playerid,30.01646.2810,-1813.0746,13.5322) || IsPlayerInRangeOfPoint(playerid,30.0,1752.8209,-1884.8654,13.5573))
{
SendClientMessage(playerid, COLOR_WHITE, "Du hast dir am Armour Point eine Schutzweste Angezogen");
SetPlayerArmour(playerid, 100);
}
return 1;
}
Errors :
C:\Users\Daniel Keller\Desktop\Script\GUR0.5b.pwn(18437) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Daniel Keller\Desktop\Script\GUR0.5b.pwn(18445) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Daniel Keller\Desktop\Script\GUR0.5b.pwn(24437) : error 001: expected token: ",", but found "."
C:\Users\Daniel Keller\Desktop\Script\GUR0.5b.pwn(24437) : error 029: invalid expression, assumed zero
C:\Users\Daniel Keller\Desktop\Script\GUR0.5b.pwn(24437) : warning 215: expression has no effect
C:\Users\Daniel Keller\Desktop\Script\GUR0.5b.pwn(24437) : warning 215: expression has no effect
C:\Users\Daniel Keller\Desktop\Script\GUR0.5b.pwn(24437) : warning 215: expression has no effect
C:\Users\Daniel Keller\Desktop\Script\GUR0.5b.pwn(24437) : error 001: expected token: ";", but found ")"
C:\Users\Daniel Keller\Desktop\Script\GUR0.5b.pwn(24437) : fatal error 107: too many error messages on one line