Flaker Posted February 27, 2012 Share Posted February 27, 2012 Подскажите, как сделать blip (созданый на серверной стороне) видимым только для определенного игрока, заданного переменной. вот мой код: completeBlip = createBlip ( -931.522,2031.7,60.1, 41, 0, 0, 0, 255, rober_driver ) setElementVisibleTo ( completeBlip, rober_driver, true ) Он показывает blip для всех игроков Подскажите как изменить? Link to comment
Kenix Posted February 27, 2012 Share Posted February 27, 2012 completeBlip = createBlip ( -931.522, 2031.7, 60.1, 41, 2, 0, 0, 255, 255, 0, 99999, rober_driver ) Ты не все аргументы юзал P.S Используй дебаг. Там написаны были бы ошибки Link to comment
MX_Master Posted February 27, 2012 Share Posted February 27, 2012 возможно так completeBlip = createBlip ( -931.522,2031.7,60.1, 41, 0, 0, 0, 255, rober_driver ) setElementVisibleTo ( completeBlip, root, false ) setElementVisibleTo ( completeBlip, rober_driver, true ) Link to comment
Flaker Posted February 27, 2012 Author Share Posted February 27, 2012 Спасибо работает) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now