Pickup
#1

I'm trying to create a weapon pickup but this error keeps showing, how do i fix it plz
F:\PVP Server\filterscripts\snipergame.pwn(63) : warning 215: expression has no effect
Reply
#2

That's the result of having something like:

PHP код:
new variable == 1 
This is incorrect because it's not an assignment. The assignment operator is a single '=' and the equality operator is a double '=='.

https://sampwiki.blast.hk/wiki/Control_...ures#Operators
Reply
#3

Whoa thanks, its fixed, I never knew that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)