little help?
#1

i have a trouble in this error

Код:
D:\Revolution DM\gamemodes\RDM.pwn(4425) : error 012: invalid function call, not a valid address
D:\Revolution DM\gamemodes\RDM.pwn(4425) : warning 215: expression has no effect
D:\Revolution DM\gamemodes\RDM.pwn(4425) : error 001: expected token: ";", but found ")"
D:\Revolution DM\gamemodes\RDM.pwn(4425) : error 029: invalid expression, assumed zero
D:\Revolution DM\gamemodes\RDM.pwn(4425) : fatal error 107: too many error messages on one line
this is the code
Код:
stock GetOwnedHouses(playerid)
{
	new count;
	foreach(Houses, h)
	{
	    IsOwner(playerid,h)
	    {
     		count++;
		}
	}
	return count;
}
anyone know what to do?
Reply
#2

pawn Код:
if(IsOwner(playerid,h))
Reply
#3

Код:
D:\Revolution DM\gamemodes\RDM.pwn(4425) : error 029: invalid expression, assumed zero
D:\Revolution DM\gamemodes\RDM.pwn(4425) : error 012: invalid function call, not a valid address
D:\Revolution DM\gamemodes\RDM.pwn(4425) : error 029: invalid expression, assumed zero
D:\Revolution DM\gamemodes\RDM.pwn(4425) : fatal error 107: too many error messages on one line
a..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)