29.03.2013, 11:00
The title says it all, i've got an idea for my roleplay server but I can't really think of a way to do it. Like i want whenever I chat with someone in my vehicle if my windows are closed no one will be able to see the chat even if he is infront of my vehicle. But if I do /car windows or /veh windows it would say that i'm rolling my windows down and people would be able to see the chat if they are near my vehicle. I know that parts of this should be on "OnPlayerText" with ProxDetector, but I can't really think of how should I do it. That's why i'm posting a scripting help thread.