House system errors... - 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)
+--- Thread: House system errors... (
/showthread.php?tid=497923)
House system errors... -
iThePunisher - 01.03.2014
my friend started to script this house system but there was milion bugs i fixed half of them and im stuck here. cant find it out how to fix this.. i tryed everything but....
so can anyone help me?
pawn Код:
C:\Users\arjan\Desktop\lscnr\filterscripts\housetest.pwn(150) : error 017: undefined symbol "player"
C:\Users\arjan\Desktop\lscnr\filterscripts\housetest.pwn(150) : warning 215: expression has no effect
C:\Users\arjan\Desktop\lscnr\filterscripts\housetest.pwn(150) : error 001: expected token: ";", but found "]"
C:\Users\arjan\Desktop\lscnr\filterscripts\housetest.pwn(150) : error 029: invalid expression, assumed zero
C:\Users\arjan\Desktop\lscnr\filterscripts\housetest.pwn(150) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
here is the error line
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
player[playerid][isspawned]=0;
return 1;
}
Re: House system errors... -
MattTucker - 01.03.2014
The 'player' you are trying to use as enum isn't defined.. Check your player enum. (Most times it's PlayerInfo)