找回密码
 register

QQ登录

只需一步,快速开始

查看: 242|回复: 0

客户端 获取自身门派信息

[复制链接]

客户端 获取自身门派信息

[复制链接]
  • 打卡等级:热心大叔
  • 打卡总天数:122
  • 打卡月天数:18
  • 打卡总奖励:121
  • 最近打卡:2025-02-22 14:24:44
Waylee

主题

0

回帖

1万

积分

仙帝

积分
14008
Waylee 2023-10-10 21:19 | 显示全部楼层 |阅读模式

马上注册,查看网站隐藏内容!!

您需要 登录 才可以下载或查看,没有账号?register

×
Player:GetData("MEMPAI");

判断案例:
-- 门派
        local menpai = Player:GetData("MEMPAI");
        local strName = "";

        -- 得到门派名称.
        if(0 == menpai) then
                strName = "少林";
        elseif(1 == menpai) then
                strName = "明教";
        elseif(2 == menpai) then
                strName = "丐帮";
        elseif(3 == menpai) then
                strName = "武当";
        elseif(4 == menpai) then
                strName = "峨嵋";
        elseif(5 == menpai) then
                strName = "星宿";
        elseif(6 == menpai) then
                strName = "天龙";
        elseif(7 == menpai) then
                strName = "天山";
        elseif(8 == menpai) then
                strName = "逍遥";
        elseif(9 == menpai) then
                strName = "无门派";
        elseif(10== menpai) then
                strName = "慕容";
        elseif(11== menpai) then
                strName = "唐门";
        elseif(12== menpai) then
            strName = "鬼谷";
        elseif(13== menpai) then
            strName = "桃花岛";        
        elseif(14== menpai) then
            strName = "绝情谷";        
        end


您需要登录后才可以回帖 登录 | register

本版积分规则

雪舞知识库 | 浙ICP备15015590号-1 | 萌ICP备20232229号|浙公网安备33048102000118号 |天天打卡

GMT+8, 2025-2-22 16:35 , Processed in 0.097504 second(s), 9 queries , Redis On.

Powered by XueWu Licensed

Copyright © Tencent Cloud.

快速回复 返回顶部 返回列表