10.11.2012, 12:18
Hey guys!
I am busy with a login system but it won't work for me and I can't figure out what I'm doing wrong.
Here is my code:
It gives these errors on the "if" line:
Thanks in advance!
I am busy with a login system but it won't work for me and I can't figure out what I'm doing wrong.
Here is my code:
Код:
public OnPlayerSpawn(playerid) { if(!Variables[playerid][LoggedIn] = true)) { GameTextForPlayer(playerid,"JE VERGAT IN TE1 LOGGEN!",5000,5); Kick(playerid); } return 1; }
Код:
login.pwn(144) : warning 211: possibly unintended assignment login.pwn(144) : error 022: must be lvalue (non-constant) login.pwn(144) : warning 215: expression has no effect login.pwn(144) : error 001: expected token: ";", but found ")" login.pwn(144) : error 029: invalid expression, assumed zero login.pwn(144) : fatal error 107: too many error messages on one line