function serverCMDfindit(%client, %target)
{
%noodles = findclientbyname(%target);
%location = %noodles.player.getPosition();
talk(%location);
}
The code is supposed to find a client from the argument, store it in a local variable named noodles.
Then get the position of the "noodles" client and store it in location.
Then display globally in console chat where Mr.Noodles is.
Also, can someone port this to client sided please? I don't know the client equivalent to serverCMD.