SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 28/04/2020, 11:14 AM   #1
KAZUOHANAKO01
Little Clucker
 
Join Date: Apr 2020
Posts: 5
Reputation: 0
Default warning 215: expression has no effect

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 (c) 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);
}
}
}
KAZUOHANAKO01 is offline   Reply With Quote
Old 28/04/2020, 11:42 AM   #2
Markski
Big Clucker
 
Markski's Avatar
 
Join Date: Apr 2015
Location: La Plata, Argentina
Posts: 133
Reputation: 59
Default Re: warning 215: expression has no effect

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.
Markski is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] warning 215: expression has no effect RyanMachado PortuguÍs/Portuguese 6 16/11/2015 12:08 AM
error 029: invalid expression, assumed zero & warning 215: expression has no effect tboysamp Scripting Help 3 23/03/2015 04:49 PM
warning 215: expression has no effect & warning 235: public function lacks forward declaration botak Scripting Help 4 27/12/2013 12:38 PM
warning 215: expression has no effect Micius Scripting Help 2 31/07/2013 01:15 PM
Warning 215: expression has no effect (Need Help) Marcynka Scripting Help 10 06/09/2012 11:35 PM


All times are GMT. The time now is 03:35 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.