It is currently Sat 23. Nov 2024 9:03:55

All times are UTC + 1 hour [ DST ]




Post new topic  Post a reply   Page 1 of 1  [ 2 posts ] 
Author Message

PostPosted: Fri 13. Apr 2012 15:15:03 
Dobrý den chcel by som sa opýtať prečo mi to nejde :/ postupoval som podla prikladu a neako ked napisem /dm tak vypise spravu ale neportne ma na druhy server .

function prepniNaServer (player, command)
outputChatBox("Za 5 vterin budes presmerovany na DM server!", player)

local nick = getPlayerName(player)

setTimer(redirectPlayer, 5000, 1, player, "92.240.237.192", 22005)

outputChatBox("Hrac " .. nick .. " se prepojil na nas DM server!", getRootElement(), 250, 0, 0)
end

addCommandHandler("dm", prepniNaServer)


Top
   
 

LazyFox83
PostPosted: Fri 13. Apr 2012 15:25:33 
offline
Hlavní Administrátor
Hlavní Administrátor
User avatar

Joined: Thu 13. Oct 2011 18:32:25
Posts: 1625
Location: Dublin, Irsko

Admin Level: 5
Points: 1 581 548
Cash: $2 088 468
Jo vlastne.. to je moje chyba, v tom navodu sem na to zapomel... redirectPlayer() potrebuje povoleni v ACL.

jednoduse dej tomu resource kde to je admin prava..

___________________
Ten nepodstatnej hlavni admin :D
Image


Top
   
 
Display posts from previous:  Sort by  
Post new topic  Post a reply   Page 1 of 1  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
TOPlist
Powered by phpBB® Forum Software © phpBB Group

©MSHost.cz