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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Errors (
/showthread.php?tid=259712)
Errors -
iGetty - 05.06.2011
pawn Код:
C:\Documents and Settings\d\Desktop\lvrp\Windows\pawno\new.pwn(47) : error 017: undefined symbol "playerid"
C:\Documents and Settings\d\Desktop\lvrp\Windows\pawno\new.pwn(48) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
CODE \/\/
public message()
{
TextDrawHideForPlayer(playerid, Text:blackTD); // Hiding it.
TogglePlayerControllable(playerid, 1); //Player can move.
}
Re: Errors -
Stigg - 05.06.2011
Try:
Not forgetting to change the forward aswell.
pawn Код:
forward message(playerid);
Re: Errors -
xRyder - 05.06.2011
You need to forward that function with parameter playerid.
Like:
pawn Код:
forward message(playerid);
public message(playerid)
{
TextDrawHideForPlayer(playerid, Text:blackTD); // Hiding it.
TogglePlayerControllable(playerid, 1); //Player can move.
return 1;
}
Re: Errors -
iGetty - 05.06.2011
That was it! Thank you SO much guys!