Function is Not Implemented ++++ REP - 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: Function is Not Implemented ++++ REP (
/showthread.php?tid=386039)
Function is Not Implemented ++++ REP -
Joshman543 - 18.10.2012
Well I am adding this to my script but, I get the error: Function SafeSetPlayerInterior is not implemented
Here is the Code:
PHP код:
if(GetPlayerInterior(targetid) > 0)
{
SafeSetPlayerInterior(i,GetPlayerInterior(targetid));
}
And at the top of the script I have this:
Код:
forward SafeSetPlayerInterior(plyid, interiorid);
Re: Function is Not Implemented ++++ REP -
park4bmx - 18.10.2012
There is no public called for it!
Change it to this instead
pawn Код:
stock SafeSetPlayerInterior(//so on.....
{
}
Re: Function is Not Implemented ++++ REP -
cosbraa - 18.10.2012
Did you create the function?
Код:
public SafeSetPlayerInterior(plyid, interiorid)
{
//code
}