16.09.2009, 07:53
This is the line of code i am using, and its trying to check if the players money is less than 'gunprice'
This is the bit so you know what gunprice is:
and then i get this error on the line and its very annoying
Код:
else if(GetPlayerMoney(playerid) < gunprice)
Код:
new gunprice; gunprice = buyingweapongunprice[playerid];
Код:
C:\Documents and Settings\Darren\Desktop\GTA San Andreas\samp02Xserver.win32\gamemodes\FFrp.pwn(1113) : error 029: invalid expression, assumed zero C:\Documents and Settings\Darren\Desktop\GTA San Andreas\samp02Xserver.win32\gamemodes\FFrp.pwn(1113) : warning 215: expression has no effect C:\Documents and Settings\Darren\Desktop\GTA San Andreas\samp02Xserver.win32\gamemodes\FFrp.pwn(1113) : error 001: expected token: ";", but found "if" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.