Jump to content
  • 0

help how to display a name


joelolopez

Question


  • Group:  Members
  • Topic Count:  154
  • Topics Per Day:  0.03
  • Content Count:  493
  • Reputation:   46
  • Joined:  01/24/12
  • Last Seen:  

is there anyway i can display my killedrid's name in an announcement after he/she logs out..

because it always says

 

null blablabla

 

or

 

0 blablabla

Edited by joelolopez
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  90
  • Reputation:   5
  • Joined:  06/17/12
  • Last Seen:  

edit:

deleted.

 

I think there is other way. global_reg_value?

 

http://rathena.org/board/topic/75274-getting-the-char-name-of-a-specified-char-id/

Edited by KoolKat29
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Not sure to get what you want.. store the killedrid in a tmp value ?

.@tmp$ = rid2name( killedrid );
announce .@tmp$ +" has been killed !", 0;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  154
  • Topics Per Day:  0.03
  • Content Count:  493
  • Reputation:   46
  • Joined:  01/24/12
  • Last Seen:  

sir

 

Not sure to get what you want.. store the killedrid in a tmp value ?

.@tmp$ = rid2name( killedrid );
announce .@tmp$ +" has been killed !", 0;

si here's the situation

 

i've been working with this script for a week

to display the name of killed player after he logsout

 

onpckillevent:

announce (killedrid)+" just quit againts "+(strcharinfo(0))+"!!!", ((.Broadcast)?bc_all:bc_map), .PBColor$;

 

 

but it always display

 

" 0 just quit againts joelolopez!!!"

 

or

 

"(null) just quit againts joelolopez!!!"

 

is there any way to display the name of my killed player after he logsout?

 

i think some SQL thing can make this name of killed player display even after he/she logsout...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...