SA-MP Forums Archive
Maybe simple, but help me - 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: Maybe simple, but help me (/showthread.php?tid=481902)



Maybe simple, but help me - JohnD123 - 18.12.2013

After take break for long time, finnaly I try to scripting again, and I found errors on one line, this is the error

Код:
C:\Users\\Desktop\samp03\gamemodes\d.pwn(465) : warning 211: possibly unintended assignment
C:\Users\\Desktop\samp03\gamemodes\d.pwn(465) : error 022: must be lvalue (non-constant)
C:\Users\\Desktop\samp03\gamemodes\d.pwn(465) : warning 215: expression has no effect
C:\Users\\Desktop\samp03\gamemodes\d.pwn(465) : error 001: expected token: ";", but found ")"
C:\Users\\Desktop\samp03\gamemodes\d.pwn(465) : error 029: invalid expression, assumed zero
C:\Users\\Desktop\samp03\gamemodes\d.pwn(465) : fatal error 107: too many error messages on one line
And this is the line

Код:
	    if(GetPlayerColor(playerid) =! COLOR_DARKBLUE)
Thankyou.


Re: Maybe simple, but help me - TahaAsif12 - 18.12.2013

Try this one:

Код:
if(GetPlayerColor(playerid) =! COLOR_DARKBLUE); //u missed this i think



Re: Maybe simple, but help me - Excelize - 18.12.2013

Код:
if(GetPlayerColor(playerid) == COLOR_DARKBLUE);
Might be that, if not, make sure to tell me


Re: Maybe simple, but help me - cessil - 18.12.2013

you got your symbols mixed up, it's meant to be !=


Re: Maybe simple, but help me - JohnD123 - 18.12.2013

Quote:
Originally Posted by cessil
Посмотреть сообщение
you got your symbols mixed up, it's meant to be !=
This is the right one , but thankyou to all that have spent your time to my thread