MrDiablon Posted January 15, 2019 Posted January 15, 2019 (edited) Hello everyone, I try to create a rage mp server, but when I want to use : mp.game.graphics.drawText("test", 4, [255, 255, 255, 255], 0.4, 0.4, true, 0.5, 0.5); OR mp.game.graphics.drawRect(0.35, 0.4, 0.3, 0.2, 215, 55, 55, 155); it doesn't work and I don't know why. Can you help me please ? Edited January 15, 2019 by MrDiablon miss click
Flashrex Posted January 15, 2019 Posted January 15, 2019 You need to do it in render-Event. mp.events.add('render', () => { //Draw to Screen } https://wiki.rage.mp/index.php?title=Graphics::drawText If you just draw it 1 time it you won´t see it. 1
MrDiablon Posted January 17, 2019 Author Posted January 17, 2019 On 1/15/2019 at 10:20 AM, MrDiablon said: Yeah !!! It's work's think's to you !!! 1
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