It is currently Thu 28. Mar 2024 22:52:44

All times are UTC + 1 hour [ DST ]




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

 Post subject: Lua do mapy,serveru
PostPosted: Fri 03. Aug 2012 21:59:19 
offline
'Mower'
'Mower'

Joined: Fri 29. Jun 2012 21:41:36
Posts: 33
Location: nereknu
Jak udelat Přikaz na /bug ?? potřebuju jako př

malo toho vim ale i text vím
ale př:
Code:
outputChatBox("Byl jsi automatycky odbugnut")
Addcommandhandler(bug,)

a barvu taky neumim
potřebuju jako fix /bug jen äby miki mel /bug jako fix :D
a nechci tam penize jen jako /bug fix tam nebude udelejte mi pls radu na
ten command a chci abyste mi tam přidal vše aby to bylo funkční potřebuju funkčni Lua


Děkují :)

___________________
$tuntTeam
ST


Top
   
 

N|M.CzSK
 Post subject: Re: Lua do mapy,serveru
PostPosted: Fri 03. Aug 2012 22:06:47 
offline
'Hunter'
'Hunter'
User avatar

Joined: Wed 21. Mar 2012 18:05:13
Posts: 882
Location: Praha

Points: 530 372
Cash: $36 034
Sem hodně velkej debil ale tohle nepochopí ani Chuck Norris... :eh:

___________________
Image


Top
   
 

 Post subject: Re: Lua do mapy,serveru
PostPosted: Fri 03. Aug 2012 22:37:38 
offline
'Hotring Racer'
'Hotring Racer'
User avatar

Joined: Fri 25. May 2012 21:38:18
Posts: 350
Location: Jihomoravský kraj
Takže za 1. Nechápu co vlastně chceš.Pochopil jsem to tak že chceš nějaký příkaz.
Code:
function NÁZEVfunkce()
FUNKCE, CO SE MÁ UDĚLAT(fixvehicle(), blown(), ...)
end
addCommandHandler("PŘÍKAZ", NÁZEVfunkce)

Toť vše..
Pokud chceš barvu , musíš znát R , G, B.
Code:
outputChatBox("TEXT Napsaný barevně."player, 250, 150, 0, true)

Timto zase napises barvou nějaký text.
Pokud chceš dělat scripty , musíš přesně na velký písmena a malý písmena psát funkce .
Tedy špatně je
Code:
AddCommandHandler("PŘÍKAZ", NÁZEVfunkce)

Správně je
Code:
addCommandHandler("PŘÍKAZ", NÁZEVfunkce)

Pokud chceš /bug příkaz , názorně :
Code:
function Odbugovani(player)
outputChatBox("Byl jsi automatycky odbugnut", player, 250,250,250)
addCommandHandler("bug", Odbugovani)

Po napsani prikazu /bug se ti bilou barvou napise Byl jsi automatycky odbugnut.
Pochopil ?

___________________
Now I in Clan DxT|


Image


Top
   
 

 Post subject: Re: Lua do mapy,serveru
PostPosted: Fri 17. Aug 2012 22:15:13 
offline
'Mower'
'Mower'

Joined: Fri 29. Jun 2012 21:41:36
Posts: 33
Location: nereknu
Pochopil :¨)

___________________
$tuntTeam
ST


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users 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:  
cron
TOPlist
Powered by phpBB® Forum Software © phpBB Group

©MSHost.cz