[QUESTION] Npc link to a Website?

05/25/2009 08:40 Pete1990#1
Ok well i was thinking maybe make an npc where if u click on one of the sayings it takes u to a link anyone have an ideal on how to do that.
05/25/2009 12:33 PeTe Ninja#2
lol MyChar.Teleport :D
05/25/2009 13:30 BlooD-BoY#3
System.Diagnostics.Process.Start("www.google.com") ;

enjoy.
05/25/2009 14:18 becko713#4
Quote:
Originally Posted by Pete1990 View Post
Ok well i was thinking maybe make an npc where if u click on one of the sayings it takes u to a link anyone have an ideal on how to do that.
i know it on binary only how to do it
05/27/2009 05:25 Pete1990#5
Quote:
Originally Posted by BlooD-BoY View Post
System.Diagnostics.Process.Start("www.google.com") ;

enjoy.
Just one small problem if someoen does that in ur server it just loads it on the host pc any ideal how to make it load for whoever clicks it lol
05/27/2009 06:27 WHITELIONX#6
And how is it done with TQ binaries o.0 Am asking becko713 :P
05/27/2009 06:29 Pete1990#7
I dont use Tq bina so i dont know i use LOTFAnyone got a tq bina that i can look at for this or somthing?
05/28/2009 01:48 BasicCoder#8
I would say PeTes way but im not sure it would work
05/28/2009 02:30 Pete1990#9
Anyone have an ideal to make this load up for the person that clicks on it becuse it will only go to the Host pc lol.
05/28/2009 04:32 PeTe Ninja#10
you could make a new command for lotf ( command i mean like MyChar.____ ) def for character.cs

so it could be like

MyChar. and for that ip it would open up the website?
05/28/2009 04:37 Pete1990#11
Quote:
Originally Posted by PeTe Ninja View Post
you could make a new command for lotf ( command i mean like MyChar.____ ) def for character.cs

so it could be like

MyChar. and for that ip it would open up the website?
Thats true but im trying to think on how to do it we had a command but only works on host so we are trying to think maybe u should get on chat or somthing:D