SA-MP Forums Archive
Error - 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: Error (/showthread.php?tid=214249)



Error - Rock18 - 20.01.2011

When i try to compile my fs i get 1 error...
Код:
C:\Documents and Settings\Mureseanu\My Documents\Altele\Drift Universe\filterscripts\textcar.pwn(47) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Line 47
Код:
forward InCar();
public InCar()
{
TextDrawHideForPlayer(playerid, Text:TxdCar); // Line 47
return 1;
}



Re: Error - viKKmaN - 20.01.2011

Код:
stock InCar(playerid)
{
     TextDrawHideForPlayer(playerid, Text:TxdCar);
     return 1;
}
And to call the function:
Код:
InCar(playerid)
Offtopic: Pe romaneste, nu recunoaste variabila playerid, din moment ce ea nu este definita in interiorul functiei.


Re: Error - Rock18 - 20.01.2011

Thanks !

Off : Ms ca miai aratat , sunt sigur ca a doua oara nu o sa mai fac aceeasi greseala