warning 215: expression has no effect
#1

C:\Users\Anthony's.Anthonys-PC\Desktop\port_111\gamemodes\BRP.pwn(7978 : warning 208: function with tag result used before definition, forcing reparse
C:\Users\Anthony's.Anthonys-PC\Desktop\port_111\gamemodes\BRP.pwn(30052) : warning 215: expression has no effect
C:\Users\Anthony's.Anthonys-PC\Desktop\port_111\gamemodes\BRP.pwn(30059) : warning 215: expression has no effect
C:\Users\Anthony's.Anthonys-PC\Desktop\port_111\gamemodes\BRP.pwn(74771) : warning 215: expression has no effect
C:\Users\Anthony's.Anthonys-PC\Desktop\port_111\gamemodes\BRP.pwn(74805) : warning 215: expression has no effect
C:\Users\Anthony's.Anthonys-PC\Desktop\port_111\gamemodes\BRP.pwn(7833 : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Quote:

new Float:X,Float:Y,Float:Z;
GetPlayerPos(EMSAccepted[i], X, Y, Z);
new zone[MAX_ZONE_NAME];
Get3DZone(X, Y, Z, zone, sizeof(zone));
new string[128];
format(string, sizeof(string), "Your patient is located in %s.", zone);
SetPlayerCheckpoint(i, X, Y, Z, 5);
}
}
}

Reply
#2

All of the lines on the error log are super far away from each other so the snippet you provided won't suffice. We also have no way to know which of those lines is contained in the snippet you sent. Personally I can't find any code in that snipper which has no effect.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)