How to do , when I typing command, The bot is stop?
#1



Someone tell me, a_samp and a_npc cannot be at the same script.

So , I want to do, when I am send command, the bot will stop.
I know the function to do it , is PauseRecordingPlayback .


How to do it?
Reply
#2

a_samp and a_npc cannot not be in the same script.
Reply
#3

Quote:
Originally Posted by Jasen
a_samp and a_npc cannot not be in the same script.
WTF

Thats what I am saying!!!

So how to do that, when I am sending command, the Bot will stop?! Dont get it!?
Reply
#4

use SendRconCommand("npcsstop") in ur samp script and
public OnRconCommand(cmd[]) in ur npc script
like
u use on PlayerCommand test /stopnpcs
then u send on that SendRconCommand("npcsstop")
and in ur npc script u checck OnRconCommand if it == npcstop
n if it does u do PauseRecordingPlayback

and Jasen was kidding because u said

Quote:
Originally Posted by _Ben_[Fux-c.co.il RP
]
Someone tell me, a_samp and a_npc cannot be at the same script.
like ud tell him to say exactly that words
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)