I want to paint a box centered in my player while running the script. How do I do that?
I want to paint a box centered in my player while running the script. How do I do that?
Simba Code:SMART_DrawBox(IntToBox(X1,Y1,X2,Y2));
You'll have to change those to the coordinates of your box. Probably it will be something like "IntToBox(MSCX-20,MSCY-20,MSCX+20,MSCY+20)" which will draw a 40x40 box around the center of your screen (assuming that's where your player is located).
Also you'll need to include the SmartGraphics file like so:
For OSR:
For EoC:Simba Code:{$i SRL-OSR/SRL/misc/SmartGraphics.simba}
Simba Code:{$i SRL/SRL/misc/SmartGraphics.simba}
Current projects:
[ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]
"I won't fall in your gravity. Open your eyes,
you're the Earth and I'm the sky..."
Thank you for the fast reply. We were of a great help![]()
I got the exact x and y coords. If you need them just say it![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)