Ich bekomme 1 Error und ich weis nicht was das Problem ist ?!?
C:\Users\GnGiSoFame\Desktop\cD\gamemodes\lol.pwn(6489) : warning 225: unreachable code
C:\Users\GnGiSoFame\Desktop\cD\gamemodes\lol.pwn(7132) : warning 219: local variable "cmd" shadows a variable at a preceding level
C:\Users\GnGiSoFame\Desktop\cD\gamemodes\lol.pwn(19836) : warning 219: local variable "cmd" shadows a variable at a preceding level
C:\Users\GnGiSoFame\Desktop\cD\gamemodes\lol.pwn(55708) : warning 225: unreachable code
C:\Users\GnGiSoFame\Desktop\cD\gamemodes\lol.pwn(56143) : error 035: argument type mismatch (argument 1)
C:\Users\GnGiSoFame\Desktop\cD\gamemodes\lol.pwn(65870) : warning 203: symbol is never used: "cmd"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
if(strcmp(cmd,"/oparking", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 10.0,1101.67968,-1742.62109,11.909834))
{
MoveObject(opark,1101.67968,-1742.62109,11.909834,2);
SetTimer("CloseOparking", 4000, 0);
}
else if(IsPlayerInRangeOfPoint(playerid,12.0,1761.1756591797,-1700.3647460938,13.267069816589))
{
MoveObject(opark2,1761.1756591797,-1692.2138671875,11.567069816589,2);
MoveObject(opark3,1761.1756591797,-1700.3647460938,11.567069816589,2);
SetTimer("CloseOparking2",4000,0);
}
else if(IsPlayerInRangeOfPoint(playerid,12.0,1801.7052001953,-1719.5393066406,13.91569633484))
{
MoveObject(opark4,1801.7052001953,-1719.5393066406,11.91569633484,2);
SetTimer("CloseOparking3",4000,0);
}
return 1;
}