[PY]Call Horse by client Button

07/11/2013 17:24 .Bloddy#1
Follow [Only registered and activated users can see links. Click Here To Register...]
paste this between of the old function.
PHP Code:
    def OtevritWeb(self):            
        
import net
        
if self.Horse== FALSE:
            
net.SendChatPacket("/horse_unsummon")
            
self.Horse1    #la potenza di py 2.2
            
        
else:
            
net.SendChatPacket("/horse_summon")
            
self.HorseFALSE 
and in __init in interfacemodule add
self.Horse = None

Good evening.
07/11/2013 17:27 .Incredible'™#2
It is very easy to make but thanks.
07/11/2013 17:28 Legend2007#3
These are GM Commands, though.

Not going to work for regular players unless you change the command permissions within the game core.
07/11/2013 17:39 .Bloddy#4
@.Incr I'm soory but u dont understand the release.
@Legend i think it's obv.
07/11/2013 20:17 yasin41baba#5
Quote:
Originally Posted by .Bloddy View Post
Follow [Only registered and activated users can see links. Click Here To Register...]
paste this between of the old function.
PHP Code:
    def OtevritWeb(self):            
        
import net
        
if self.Horse== FALSE:
            
net.SendChatPacket("/horse_unsummon")
            
self.Horse1    #la potenza di py 2.2
            
        
else:
            
net.SendChatPacket("/horse_summon")
            
self.HorseFALSE 
and in __init in interfacemodule add
self.Horse = None

Good evening.
Thnx but i dont underatand pls image or video
07/11/2013 20:36 .Bloddy#6
Click a button and the horse apppear re click the button and it say goodbye
07/11/2013 21:00 Adasaurus#7
Bad relaese
Very easy and working only with gm permisions
PS : Nic moc :D
07/11/2013 22:10 EULOG1SON#8
easy but thanks!
07/12/2013 10:20 Nick#9
Quote:
Originally Posted by .Bloddy View Post
Click a button and the horse apppear re click the button and it say goodbye
Sorry, but that's the sense of the horse-calling-books.
I think this system needs no improvement.
07/12/2013 12:15 .Lowbob#10
ob man jetzt auf ein button oder auf ein item klickt macht doch kein unterschied
07/13/2013 15:01 LxR'EsoZiaL#11
Bei manchen muss man erst den Befehl für jeden zugänglich machen. Das ist der Haken.
07/13/2013 15:21 .Bloddy#12
I dont understand... Do u need a tut for unblock the command for player?