ok well heres part of the script...and its a problem because when you right click inside a level the profile wont show up :-/
NPC Code:
if (mousedown){
if (rightmousebutton){
pid = testplayer(mousex,mousey);
if (pid > -1){
close();
triggeraction 0,0,serverside,-System/Profiles,mouse,#v(mousex),#v(mousey);
...
if i make (pid > -1) it only works on a gmap or when you click yourself...if i make it -2 then anyhwere you click on the screen it shows the last profile you clickd...if i make it 0 it just doesnt work
