SendCommand help please. - 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: SendCommand help please. (
/showthread.php?tid=136157)
SendCommand help please. -
Kevin_Wolf - 23.03.2010
Okay i got a bot on a roleplay server, and what i want it to is to when i tell it something, it answers back (I did that) but now i need him to say it on the /o chat (OOC), can anyone help me how to make it.. I got this far. I hope the code explains more
The thing is that the SendCommand is not working, any ideas how i can make this work so it actually says it in OOC chat?
Код:
else if(strfind(text, "Michael, you are getting fixed") != -1)
{
new string[80];
format(string, sizeof(string), "AARGH! Please don't fix me Kevin! Im only a bot! AARGH!");
SendChat(string);
SendCommand("/o AARGH! Please don't fix me Kevin! Im only a bot! AARGH!");
}
Re: SendCommand help please. -
Kevin_Wolf - 23.03.2010
Guys, help me out man
Re: SendCommand help please. -
Kevin_Wolf - 23.03.2010
People are calling themselves for PRO scripters, but they don't know shit.
Re: SendCommand help please. -
Correlli - 23.03.2010
And obviously you don't know the basic
rules of this forum.
Don't bump and help yourself before you post. You probably missed the wiki page.
Re: SendCommand help please. -
MenaceX^ - 23.03.2010
Quote:
Originally Posted by Kevin_Wolf
People are calling themselves for PRO scripters, but they don't know shit.
|
1. How's that related?
2. Read the forum rules and then you maybe will understand that you're not allowed to post like you do, 3 posts in 3 hours.
3. There's no page for SendCommand in wiki so it might be not working at all.
Re: SendCommand help please. -
Correlli - 23.03.2010
Quote:
Originally Posted by MenaceX^
3. There's no page for SendCommand in wiki so it might be not working at all.
|
https://sampwiki.blast.hk/wiki/NPC:SendCommand
Re: SendCommand help please. -
MenaceX^ - 23.03.2010
Uh, I was checking
https://sampwiki.blast.hk/wiki/SendCommand
Re: SendCommand help please. -
pmk1 - 23.03.2010
i think it doesnt exist
Quote:
Originally Posted by Kevin_Wolf
People are calling themselves for PRO scripters, but they don't know shit.
|
what about you?