• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Error 029 plzz help
#1
D:\Abdrahman's Folder\Map\Scripts\samp037_svr_R2-1-1_win32\gamemodes\Tutori.pwn(237) : error 029: invalid expression, assumed zero
D:\Abdrahman's Folder\Map\Scripts\samp037_svr_R2-1-1_win32\gamemodes\Tutori.pwn(237 -- 238) : error 029: invalid expression, assumed zero
D:\Abdrahman's Folder\Map\Scripts\samp037_svr_R2-1-1_win32\gamemodes\Tutori.pwn(267) : error 029: invalid expression, assumed zero
D:\Abdrahman's Folder\Map\Scripts\samp037_svr_R2-1-1_win32\gamemodes\Tutori.pwn(267 -- 268) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.


The wrong here:

if(PlayerInfo[playerid][pAdmin]) = 7
    {
    SetPlayerColor(playerid,COLOR_RED);
    }


How to solve it plzzz help
  Reply
#2
Try this:

Code:
if(PlayerInfo[playerid][pAdmin] == 7)
{
    SetPlayerColor(playerid,COLOR_RED);
}
  Reply


Forum Jump: