PLease help ASAP thanksz
#1

PLease help ASAP thanksz

This line
Код:
	playercarid[playerid] = 0;
	InvitedToHouse[playerid] = 0;
	InvitedToHouseOwnerId[playerid] = 0;
	GoingHome[playerid] = 0;
	HouseBreakin[playerid] = 0;
	HouseBreakinOwnerId[playerid] = 999;
	AcceptReadyEntrance[playerid] = 0;
	AcceptReadyCar[playerid] = 0;
give me these errors Wasted.pwn(257 : error 028: invalid subscript (not an array or too many subscripts): "InvitedToHouse"
gamemodes\Wasted.pwn(257 : warning 215: expression has no effect
gamemodes\Wasted.pwn(257 : error 001: expected token: ";", but found "]"
gamemodes\Wasted.pwn(257 : error 029: invalid expression, assumed zero
gamemodes\Wasted.pwn(257 : fatal error 107: too many error messages on one line[/CODE]
Reply
#2

I guess your variable don't have a length
Change this:
pawn Код:
new InvitedToHouse;
to this:
pawn Код:
new InvitedToHouse[MAX_PLAYERS];
Reply
#3

it stil ldoesnt work i been tried that and i tried it again it stil ldont work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)