Posts: 1,233
Threads: 269
Joined: Oct 2008
Reputation:
0
How can I make if player is in car with closed windows ( I have /windows command for that) he won't see any msg from ppl that are outside of car? I'm using prox detector but I guess prox detector can be seen by everyone..
Posts: 128
Threads: 14
Joined: Mar 2014
Reputation:
0
I think that's kinda impossible, but i'm not a pro
Posts: 772
Threads: 79
Joined: Dec 2012
You can just get like if the windows are closed, then clear chat for player after some interval of time and if it isn't, then it will be default.
Posts: 1,241
Threads: 67
Joined: Dec 2013
It's very simple, Use radius and define if windows closed or not, It is already in some RP Servers
Posts: 1,233
Threads: 269
Joined: Oct 2008
Reputation:
0
I was thinking about using loop, player's state = ON FOOT, and if player is near player that is writing then he will get message something like this so ony players ON FOOT will get that message then I need to detect vehicles without roof and bikes and so on.. so those players will receive message also, but I need to get some help from more experienced scripters if it's possible and if I'm even thinking in right way ^^
Posts: 1,241
Threads: 67
Joined: Dec 2013
Use vehicle models for detect bikes or cars, It won't take you much time
Posts: 1,241
Threads: 67
Joined: Dec 2013
Код:
if(Carinfo[vehicleid][VehWin] == 0)
from this you can make it receive message or not.