
03-14-2010, 06:00 PM
|
|
J.Rollin (killaz)
|
 |
Join Date: Feb 2010
Location: USA
Posts: 675
|
|
sweet
Quote:
Originally Posted by cbk1994
There are quite a few things wrong with that, I recommend that anyone reading this not look at that code for pointers.
You should do something like this:
PHP Code:
//#CLIENTSIDE
function onCreated() {
onTimeOut();
}
function onTimeOut() {
hideimgs(200, 400); // lazy :[
for (temp.pl : players) {
showimg(200 + pl.id, "light2.png", pl.x - 1.5, pl.y - 1.5);
changeimgvis(200 + pl.id, 0);
changeimgcolors(200 + pl.id, 1, 0, 0, .7);
}
setTimer(0.05);
}
You can play around with the positions, and add a player.attr for the glow colors.
|
This script is awesome chris. |
|
|
|