Reflex# Posted March 23, 2012 Posted March 23, 2012 addEventHandler('onClientPlayerJoin', root, function() outputChatBox('#0075eb[RHD] ' .. getPlayerName(source) .. ' has joined the server from' " .. array.city .. ", " .. array.country .. " (" .. getNormalCountryName(kraje[array.country]) .. "), 255,255,255) end ) addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) outputChatBox('#0075eb[RHD] ' .. oldNick .. ' is now known as ' .. newNick, 0,191,255) end ) addEventHandler('onClientPlayerQuit', root, function(reason) outputChatBox('#0075eb[RHD] ' .. getPlayerName(source) .. ' has left the game [' .. reason .. ']', 255,255,255) end ) How to create:When player join,saying from what country? And 2-nd question: How create AFK-kicker without getPlayerIdle? Scripting in lua
Castillo Posted March 23, 2012 Posted March 23, 2012 That script is just mess, where's "array" defined? also, getNormalCountryName doesn't exists. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
-ffs-Sniper Posted March 23, 2012 Posted March 23, 2012 This is a part of Wesseb's php joinquit script, you don't own it, you don't know how to script. Close this, thanks.
Reflex# Posted March 23, 2012 Author Posted March 23, 2012 This is a part of Wesseb's php joinquit script, you don't own it, you don't know how to script.Close this, thanks. This script i made from standart jounquit Scripting in lua
Reflex# Posted March 23, 2012 Author Posted March 23, 2012 That script is just mess, where's "array" defined? also, getNormalCountryName doesn't exists. Can you show me how to do? Scripting in lua
-ffs-Sniper Posted March 23, 2012 Posted March 23, 2012 This is a part of Wesseb's php joinquit script, you don't own it, you don't know how to script.Close this, thanks. This script i made from standart jounquit This is the default joinquit resource, yes, but you are using functions like "getNormalCountryName" that require Wesseb's php joinquit to work properly.
Reflex# Posted March 23, 2012 Author Posted March 23, 2012 How i can do this without Wesseb's php? Scripting in lua
drk Posted March 23, 2012 Posted March 23, 2012 Learn and you will know. EPT Team Server Development: 0% Learning C++ | C++ is amazing
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now