NPC's stop
#1

Hello

I have made it that my npcs stop then someone is in frunt
but stops it a npc is infrunt too.. so i added
Код:
 if(!IsPlayerNPC(x))
to the script but i just get

Код:
undefined symbol "IsPlayerNPC"
why
Reply
#2

Quote:
Originally Posted by ◄╝J.Bull╚►
Hello

I have made it that my npcs stop then someone is in frunt
but stops it a npc is infrunt too.. so i added
Код:
 if(!IsPlayerNPC(x))
to the script but i just get

Код:
undefined symbol "IsPlayerNPC"
why
You must this use in npcmodes.
Reply
#3

Quote:

You must this use in npcmodes.

Wrong.
IsPlayerNPC available everywhere.
Reply
#4


pawn Код:
#include <a_samp>
Add under:
pawn Код:
#include <a_npc>
Reply
#5

Quote:
Originally Posted by _Ben_[Fux-c.co.il RP
]

pawn Код:
#include <a_samp>
Add under:
pawn Код:
#include <a_npc>
IsPlayerNPC is in a_samp ...
USE THE PAWNO INCLUDES FOR SAMP 3 !! don't compile your *new* scripts for samp 3 with samp2x incudes.
Reply
#6

And if you have lots of server folders, go into your RC server folder, open pawno folder, and activate pawno.exe then close it. Then compile your gamemode again.

It will automatically load the .inc files from the RC server folder.
Reply
#7

im using 0.3 incudes and im doing it in npcmodes
and i have tryed adding a_samp incude too and still get the
error, but i cant see why
Reply
#8

Quote:
Originally Posted by ◄╝J.Bull╚►
im using 0.3 incudes and im doing it in npcmodes
and i have tryed adding a_samp incude too and still get the
error, but i cant see why
Try putting the SAMP 0.3 includes in all of your pawno include folders
Reply
#9

Quote:
Originally Posted by SampGuy
Quote:
Originally Posted by ◄╝J.Bull╚►
im using 0.3 incudes and im doing it in npcmodes
and i have tryed adding a_samp incude too and still get the
error, but i cant see why
Try putting the SAMP 0.3 includes in all of your pawno include folders
im only using 0.3 pawno i deleted my 0.2x pawno
so its all 0.3
Reply
#10

i got errors when i added npc to my gamemode said lacked forward etc.. i checked the a_npc.ini it was all in there but still gave me errors so i did all the same as i did into a fs with the NPC and it worked fine...
Reply
#11

Quote:
Originally Posted by Shady91
i got errors when i added npc to my gamemode said lacked forward etc.. i checked the a_npc.ini it was all in there but still gave me errors so i did all the same as i did into a fs with the NPC and it worked fine...
well i dont see why mine it dont working

is IsPlayerNPC() in a_npc

if its not it needs to be added

becuase if i add a_samp i get error about other shit
Reply


Forum Jump:


Users browsing this thread: 12 Guest(s)