was ist den daran falsch? da kommen warns:
Befehl:
if (strcmp("/sanchez", cmdtext, true, 10) == 0)
{
new vehicleid;
new Float:X,Float:Y,Float:Z,Float:Angle; //Zeile 6627
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
GetPlayerVehicleID(playerid);
vehicleid = CreateVehicle(468,X,Y,Z,Angle,-1,-1,600);
vehicleid = PutPlayerInVehicle(playerid, vehicleid, 0);
return 1;
}
Warns:
C:\Users\Mati\Desktop\LoG Server\gamemodes\XS.pwn(6627) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\Mati\Desktop\LoG Server\gamemodes\XS.pwn(6627) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\Mati\Desktop\LoG Server\gamemodes\XS.pwn(6627) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\Mati\Desktop\LoG Server\gamemodes\XS.pwn(6627) : warning 219: local variable "Angle" shadows a variable at a preceding level