Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 12:39

  • Please register to post and access all features, it's quick, easy and FREE!

 

hello need hep for notice connection

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2013
Posts: 5
Received Thanks: 0
Smile hello need hep for notice connection

bonjour,
je voudrais savoir si cela embte personne comment afficher une annonce qui dit quand un GM se connecte en jeux ?? j'ai un debut de lua

if get_value ("permission") == 8 then
notice("GM '"..name.."' online!")
end

dans le LUA On_login mais rien ne s'affiche pourquoi ??


--------------------------------------------------------------------------

hello,
I wonder if it bothers anyone how to display an ad that says when a GM logs in games?? I have a start of lua

if get_value ("permission") == 8 then
notice ("GM" .. name .. "'online!")
end

in LUA On_login but nothing appears why?



altecpvp is offline  
Old   #2
 
elite*gold: 0
Join Date: Jun 2008
Posts: 104
Received Thanks: 14
function on_login( name )

-- ڵ о
-- get_local_info() ȯ
--LOCAL_INFO_KOREA = 1
--LOCAL_INFO_HONGKONG = 2
--LOCAL_INFO_AMERICA = 4
--LOCAL_INFO_EUROPE = 8
--LOCAL_INFO_JAPAN = 16
--LOCAL_INFO_TAIWAN = 32
--LOCAL_INFO_CHINA = 64

local race = get_value( "race" )
local state_code = get_local_info()

if get_value("permission") == 100 then
notice("<#8501FF>GM '"..name.."' online!</#8501FF>")
end




and if your logging in trying to see the message display for you you wont see it only others will


hackfever is offline  
Old   #3
 
elite*gold: 0
Join Date: Apr 2011
Posts: 273
Received Thanks: 69
..name..

local name = gv("name") ???
TheSuperKiller is offline  
Old   #4


 
elite*gold: 30
Join Date: May 2011
Posts: 4,801
Received Thanks: 3,181
Quote:
Originally Posted by TheSuperKiller View Post
..name..

local name = gv("name") ???
Yep, that's .lua-Syntax.

Code:
local name = gv("name") -- Creating a variable named "name", giving it the value of gv("name")
notice(name) -- Sends a notice with the name
notice("This is just some random message from "..name.." and it's funny") -- "..name.." here, because this "appends" a variable to a string


Xijezu is offline  
Old   #5
 
elite*gold: 0
Join Date: May 2011
Posts: 15
Received Thanks: 3
il te suffi juste de coller a

if get_value ("permission") == 100 then
notice(""..name.." est connecte(e)!")
end


asaria is offline  
Thanks
1 User
Reply



« Previous Thread | Next Thread »

Similar Threads
ERROR: Connection failed. Host 'Mcncc.com' is blocked because of many connection erro
Hab ein Problem mit meinem DynDns Server nach einiger Zeit kommt bei der DB und Regi immer olgendes "ERROR: Connection failed. Host 'Mcncc.com' is...
8 Replies - Metin2 PServer - Discussions / Questions
*Notice*Warning Password stealing site*Notice*
Notice is as follows, do not enter this site, if you get a notice in your email like this for gawd sakes dont give anyone your password ...
0 Replies - WoW Main - Discussions / Questions



All times are GMT +2. The time now is 12:39.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.