#1

SetMyPos doesn't work returns this error
Код:
error 017: undefined symbol "SetMyPos"
probably same thing will happen with GetMyPos, I didn't test that.
Reply
#2

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.
Reply
#3

Because there is no such thing as SetMyPos ?
Reply
#4

Quote:
Originally Posted by dice7
Because there is no such thing as SetMyPos ?
It is: https://sampwiki.blast.hk/wiki/NPC:SetMyPos
Reply
#5

Custom Function , i never heard about this Function ... you mean SetPlayerPos .. ?
Reply
#6

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.
Reply
#7

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.
Reply
#8

You must have include a_npc.inc included.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)