bug - 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: bug (
/showthread.php?tid=95954)
bug -
eminich - 05.09.2009
SetMyPos doesn't work returns this error
Код:
error 017: undefined symbol "SetMyPos"
probably same thing will happen with GetMyPos, I didn't test that.
Re: bug -
XtremeChio - 05.09.2009
Open the new.pawn and open your script. Then compile it and it should work. I had the same problem, cause I used the old Pawno.
Re: bug -
dice7 - 05.09.2009
Because there is no such thing as SetMyPos ?
Re: bug -
Correlli - 05.09.2009
Quote:
Originally Posted by dice7
Because there is no such thing as SetMyPos ?
|
It is:
https://sampwiki.blast.hk/wiki/NPC:SetMyPos
Re: bug -
BlackFoX - 05.09.2009
Custom Function , i never heard about this Function ... you mean SetPlayerPos .. ?
Re: bug -
XtremeChio - 05.09.2009
Quote:
Originally Posted by BlackFoX
Custom Function , i never heard about this Function ... you mean SetPlayerPos .. ?
|
Corelli even gave the link.
It's used for NPC's and it's not working because he didn't open with the new Pawno. Just go to Pawn>Open the pawn and then open your .pwn file and compile it. Then it'll all work.
Re: bug -
Correlli - 05.09.2009
Quote:
Originally Posted by BlackFoX
Custom Function , i never heard about this Function ... you mean SetPlayerPos .. ?
|
NPC:SetMyPos is the function for setting NPC's position but it will only work in the NPC-script.
Re: bug -
Sergei - 05.09.2009
You must have include a_npc.inc included.