Im New, /b Chat
#1

Ok so im Brand spanking new to this, so lay off a little and consider this si my first ever script, im trying to do it so when someone types /b <message> it comes up like this:
"New_Player says ((Hey, This Is OOC Chat Example))"

Ive got this, used a tutorial on a different type of chat, and am trying to use the kind of format but make it slightly different.

I need to set it to a radius, Instead of (i think) the main chat

Thanks for the help
Reply
#2

Use bigstrtok function.
Reply
#3

Quote:
Originally Posted by MenaceX^
Use bigstrtok function.
Uhm...? he's asking to send a client message within a radius, so wtf are you talking about?

And to robin:
LimitGlobalChatRadius is applying to... when player speaks? i think so. SendClientMessageToAll just ignores GlobalChatRadius.
What you can do is
- Use SendPlayerMessageToAll
If it doesn't work, just reply back.
Reply
#4

I edited it,

Do you mean like that?
i think thats what you ment


UPDATE: Also is there w way n PawnSCITE that i could use to test to see if it works before putting it IG?
Reply
#5

Quote:
Originally Posted by Robin_J
I edited it,

Do you mean like that?
i think thats what you ment
No, i didn't mean that. Use
SendPlayerMessageToAll
Reply
#6

Ok i completley changed the format, im jsut stuck on setting it locally,

Is it something like

"if(GetDistanceBetweenPlayers(playerid,giveplayeri d) < 30)"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)