SA-MP Forums Archive
A litttle help. - 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: A litttle help. (/showthread.php?tid=173823)



A litttle help. - willsuckformoney - 03.09.2010

OK I get these errors

Код:
error 004: function "OnPlayerEnterCity" is not implemented
error 004: function "OnPlayerExitCity" is not implemented
That means its not forwarded right? So I have this...

pawn Код:
forward OnPlayerEnterCity(playerid,cityid);
forward OnPlayerExitCity(playerid,cityid);
I can keep re-typing it and it still don't work. Someone help?


Re: A litttle help. - Vince - 03.09.2010

And do you actually have the function? Just forwarding is not enough.


Re: A litttle help. - willsuckformoney - 03.09.2010

hmm never thought of that


Re: A litttle help. - Voldemort - 03.09.2010

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
hmm never thought of that
*bump* sry


Re: A litttle help. - willsuckformoney - 03.09.2010

fixed it, needed theses...

pawn Код:
public OnPlayerEnterCity(playerid,cityid)
{
    return 1;
}

public OnPlayerExitCity(playerid,cityid)
{
    return 1;
}