warning 215: expression has no effect - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warning 215: expression has no effect (
/showthread.php?tid=674807)
warning 215: expression has no effect -
KAZUOHANAKO01 - 28.04.2020
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);
}
}
}
|
Re: warning 215: expression has no effect -
Markski - 28.04.2020
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.