Quote:
Originally Posted by Chompy
hmm,
PHP Code:
function onActionServerisde( acct) { plyr = findplayer( @ temp.acct); with( plyr) temp.array = { player.attr[ 1], player.attr[ 2]}; }
this doesn't seem to work for me..
reading an others player.attr's
|
Can I suggest:
PHP Code:
function onActionserverside(temp.acct)
{
temp.plyr = findPlayer(temp.acct);
temp.array = {temp.plyr.attr[1], temp.plyr.attr[2]};
}
Also what's with this awful style of putting spaces at the beginning of function parameters and such? :/