- เครดิต
- 102
- ความรู้
-
- เงิน $
-
- ความดี
-
|
อันนี้ผมใส่ไว้ใน Onplayerlogin
if(PlayerInfo[playerid][pLeader] == 0 || PlayerInfo[playerid][pFMember] == 255)
{
label[playerid] = Create3DTextLabel("ประชาชน",0xFF8040FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
{
label[playerid] = Create3DTextLabel("เข้าหน้าที่ตำรวจ",0x8D8DFF00,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2)
{
label[playerid] = Create3DTextLabel("เข้าหน้าที่ FBI",0x8D8DFF00,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 3)
{
label[playerid] = Create3DTextLabel("กองกำลังนาวิกโยธิน",0x8D8DFF00,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pMember] == 4)
{
label[playerid] = Create3DTextLabel("แพทย์",0xFFFFFFAA,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 5)
{
label[playerid] = Create3DTextLabel("แก๊งค์ มาเฟีย",0x00008BFF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 6)
{
label[playerid] = Create3DTextLabel("แก๊งค์ ยากูซ่า",0xFF0000FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 7 || PlayerInfo[playerid][pMember] == 7)
{
label[playerid] = Create3DTextLabel("กลุ่มตัวแทนประชาชน",0xFF0000FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 8 || PlayerInfo[playerid][pMember] == 8)
{
label[playerid] = Create3DTextLabel("องค์กรลับ ฮิตแมน",0x00008BFF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 9 || PlayerInfo[playerid][pMember] == 9)
{
label[playerid] = Create3DTextLabel("นักข่าว",0x33AA33AA,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 10 || PlayerInfo[playerid][pMember] == 10)
{
label[playerid] = Create3DTextLabel("แท็กซี่",0xFFFF00AA,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 11 || PlayerInfo[playerid][pMember] == 11)
{
label[playerid] = Create3DTextLabel("กรรมการขนส่ง",0xFFFF00AA,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
}
if(PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 12)
{
label[playerid] = Create3DTextLabel("SLE3PPINGZ_",0xFF0000FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.5);
} |
|