Posts: 854
Threads: 154
Joined: Jun 2012
Reputation:
0
What I would like is a command (/greet) that checks if a person IsACop (defined already in my GM) and if they are it makes them say "Hello, I'm (officer name/persons name that used /greet) with the Los Santos Police Department. Do you know why I stopped you today?"
Can someone please explain how to do this? I am a begginer scripter, so help would be great!
Please & Thanks: jakejohnsonusa
Posts: 854
Threads: 154
Joined: Jun 2012
Reputation:
0
I see SendClientMessageToAll(GREEN,MSG); ... meaning it's not normal talking, I would like to know how to send the msg as normal talking. It will be for my RP server when an officer does a traffic stop...
Thanks for your help though, +1Rep
Please help me do this: jakejohnsonusa
Posts: 126
Threads: 14
Joined: Apr 2012
Reputation:
0
Why don't you let the cop say whatever he wants. I don't see any use in the cmd.
Posts: 854
Threads: 154
Joined: Jun 2012
Reputation:
0
The. command is a special cmd they can use, but I just really want to learn how to do this. Anyone that can help, please?
-jakejohnsonusa
Posts: 854
Threads: 154
Joined: Jun 2012
Reputation:
0
Yea basically. Like /greet would be the same as pressing F6 and typing it...
Posts: 854
Threads: 154
Joined: Jun 2012
Reputation:
0
Thanks! I will test add and test it soon! Thanks!