: error 022: must be lvalue (non-constant)
#1

I try to compile my script, i get this error:

C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(186 : error 022: must be lvalue (non-constant)
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(186 : warning 215: expression has no effect

Line 1868:
pawn Code:
Civilian[playerid] && Cop[playerid] = 1;
Reply
#2

Code:
Civilian[playerid] = 1;Cop[playerid] = 1;
try that.
Reply
#3

Tyvm, you pwn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)