Thread: testplayer x.x
View Single Post
  #4  
Old 01-22-2006, 05:52 PM
talkingnoodle talkingnoodle is offline
Rapidwolve
talkingnoodle's Avatar
Join Date: Nov 2005
Location: Leominster, MA
Posts: 229
talkingnoodle is on a distinguished road
Send a message via AIM to talkingnoodle Send a message via MSN to talkingnoodle
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
__________________


AIM: Rapidwolve Graal
MSN: [email protected]


2/12/06 - Crossroads NPC Admin
Reply With Quote