Post: shader position codes?
09-18-2012, 04:51 AM #1
ByteSource
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); I need some codes to make my shader go in a position i knkw i can put center top that shit is stupid i wana knkw how to do sumthing like 0+(*46) sum shit likd tht can some.one help me
(adsbygoogle = window.adsbygoogle || []).push({});
09-18-2012, 11:06 PM #2
Kitty=^.^=
Do a barrel roll!
use a x and y axis graph find the numbers needed and use this
self createShad("","",-115,-20,10000,500,"SHADER",(0,0,1),0,6);


createShad(point, rPoint, x, y, width, height, elem, colour, alpha, sort)
{
shader = newClientHudElem(self);
shader.alignX = point;
shader.alignY = rPoint;
shader.x = x;
shader.y = y;
shader.sort = sort;
shader.alpha = alpha;
shader.color = colour;
shader setShader(elem, width, height);
return shader;
}


hope u understand

The following user thanked Kitty=^.^= for this useful post:

ByteSource
09-19-2012, 03:57 PM #3
ByteSource
League Champion
Originally posted by makcim View Post
use a x and y axis graph find the numbers needed and use this
self createShad("","",-115,-20,10000,500,"SHADER",(0,0,1),0,6);


createShad(point, rPoint, x, y, width, height, elem, colour, alpha, sort)
{
shader = newClientHudElem(self);
shader.alignX = point;
shader.alignY = rPoint;
shader.x = x;
shader.y = y;
shader.sort = sort;
shader.alpha = alpha;
shader.color = colour;
shader setShader(elem, width, height);
return shader;
}


hope u understand

yea i understand but what x and y axis the paper one o what
but thanks for the post
reply back <3 Magglass1

The following user thanked ByteSource for this useful post:

Kitty=^.^=
09-20-2012, 02:30 PM #4
Kitty=^.^=
Do a barrel roll!
Originally posted by iBe
yea i understand but what x and y axis the paper one o what
but thanks for the post
reply back <3 Magglass1


hmm just find a graph and put them in here:
self createShad(point, rPoint, x, y, width, height, elem, colour, alpha, sort);
and fill in the stuff then copy the thing from last post i put and ur good to go

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo