SendCommand help please.
#1

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!");
  }
Reply
#2

Guys, help me out man
Reply
#3

People are calling themselves for PRO scripters, but they don't know shit.
Reply
#4

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

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

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

Uh, I was checking https://sampwiki.blast.hk/wiki/SendCommand
Reply
#8

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)