SA-MP Forums Archive
PLease help ASAP thanksz - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PLease help ASAP thanksz (/showthread.php?tid=268561)



PLease help ASAP thanksz - BartDashio - 13.07.2011

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]


Re: PLease help ASAP thanksz - =WoR=Varth - 13.07.2011

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



Re: PLease help ASAP thanksz - BartDashio - 13.07.2011

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