[Help]GetPlayerMoney Error's
#1

This is the line of code i am using, and its trying to check if the players money is less than 'gunprice'

Код:
else if(GetPlayerMoney(playerid) < gunprice)
This is the bit so you know what gunprice is:

Код:
 	  new gunprice;
		gunprice = buyingweapongunprice[playerid];
and then i get this error on the line and its very annoying

Код:
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.
Reply


Messages In This Thread
[Help]GetPlayerMoney Error's - by Mowgli - 16.09.2009, 07:53
Re: [Help]GetPlayerMoney Error's - by Abernethy - 16.09.2009, 08:16
Re: [Help]GetPlayerMoney Error's - by Mowgli - 16.09.2009, 08:18
Re: [Help]GetPlayerMoney Error's - by Abernethy - 16.09.2009, 08:22
Re: [Help]GetPlayerMoney Error's - by Mowgli - 16.09.2009, 08:25
Re: [Help]GetPlayerMoney Error's - by Abernethy - 16.09.2009, 08:49
Re: [Help]GetPlayerMoney Error's - by Mowgli - 16.09.2009, 12:39
Re: [Help]GetPlayerMoney Error's - by Clavius - 16.09.2009, 13:01

Forum Jump:


Users browsing this thread: 3 Guest(s)