SA-MP Forums Archive
error 022: must be lvalue (non-constant) - 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: error 022: must be lvalue (non-constant) (/showthread.php?tid=298913)



error 022: must be lvalue (non-constant) - kiloman3 - 23.11.2011

error
(590) : error 022: must be lvalue (non-constant)

On line 590

if IsPlayerAdmin(playerid) = true;


Re: error 022: must be lvalue (non-constant) - Rachael - 23.11.2011

pawn Code:
if( IsPlayerAdmin( playerid ) )



Re: error 022: must be lvalue (non-constant) - kiloman3 - 23.11.2011

Works Thanks REP