""Kriege errors bei diesem Befehl kann vllt einer Korrigieren DankEE
GreeTz
@ Dieses Blitzer Sys [ FILTERSCRIPT ] [INCLUDE] Blitzer - System
C:\Users\XXX\Desktop\pawno\include\blitzer.inc(79) : error 017: undefined symbol "eRadius"
gamemodes\stylaa.pwn(19543) : warning 219: local variable "tmp" shadows a variable at a preceding level
gamemodes\stylaa.pwn(19546) : error 001: expected token: ";", but found "-identifier-"
gamemodes\stylaa.pwn(19549) : error 001: expected token: ";", but found "-identifier-"
gamemodes\stylaa.pwn(19549) : error 006: must be assigned to an array
gamemodes\stylaa.pwn(19550) : error 035: argument type mismatch (argument 1)
gamemodes\stylaa.pwn(19555) : error 035: argument type mismatch (argument 1)
gamemodes\stylaa.pwn(19558) : error 006: must be assigned to an array
gamemodes\stylaa.pwn(19559) : error 035: argument type mismatch (argument 1)
gamemodes\stylaa.pwn(19564) : error 021: symbol already defined: "radius"
gamemodes\stylaa.pwn(19549) : warning 204: symbol is assigned a value that is never used: "tmp"
gamemodes\stylaa.pwn(19558) : warning 204: symbol is assigned a value that is never used: "radius"
gamemodes\stylaa.pwn(19594) : error 033: array must be indexed (variable "tmp")
if(strcmp(cmd, "/addblitzer", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(IsACop(playerid))
{
new speed;
new radius;
new tmp;
radius = 0
speed = 0
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Benutze: /addblitzer [Speed] [Radius]");
return 1;
}
speed = strval(tmp);
if(speed < 40 || speed > 160) { SendClientMessage(playerid, COLOR_GREY, " Speed nicht mehr als 160 oder weniger als 40 KM/H"); return 1; }
radius = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Benutze: /addblitzer [Speed] [Radius]");
return 1;
}
new radius = strval(tmp);
if(radius < 1 || radius > 100) { SendClientMessage(playerid, COLOR_GREY, " Radius 100 oder weniger als 1 sein!"); return 1; }
AddBlitzer(playerid,speed,radius);
}
}
return 1;
}