CallRemoteFunction in NPC scripts
#1

Hi

I used the CNPC plugin until now, but its not updated to 0.3c so i need use the SAMP NPC script.
But i have a problem, i can't use the CallRemoteFunction in npc script, which is important to my mode.

How can i use it? Any idea?

Thanx
Reply
#2

instead of using CallRemoteFunction() , try setting up a special command(s) for NPC's in your gamemode and use SendCommand() in the npc script.
Reply
#3

Okey, and how can i call my NPC Script functions?

Edit: Okey i solved with SendChat from NPC-s, and with SendClientMessage from the Main Gamemode
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)