How to Add Names In it? [+REP]
#1

Hello, My Question is how to add Names in it? My Code is Given Under

so Suppose this is ID Of Gimp Mask and Cowboyhat given Under how can i add names in it? "GimpMask" or "Cowboyhat: in it?

pawn Код:
new PlayerClothesList[] =
{
19163,//GimpMask
18639 //CowBoyHat
};
Reply
#2

If I'm not mistaken: (I have to code for a while)

pawn Код:
new PlayerClothesList[][] =
{
    {19163, "GimpMask"},
    {18639, "CowBoyHat"}
};
Usage

pawn Код:
PlayerClothesList[0][0] //19163
PlayerClothesList[0][1] //GimpMask
Reply
#3

I think you want to use it like this:
PHP код:
new PlayerClothesList[][]=
{
"GimpMask""CowBoyHat"}; 
And you can use it by
PHP код:
PlayerClothesList[0// gimpmask
PlayerClothesList[1//cowboyhat 
Reply
#4

pawn Код:
new PlayerClothesList[][] =
{
* * {19163, "GimpMask"},
* * {18639, "CowBoyHat"}
};
Reply
#5

Quote:
Originally Posted by Clad
Посмотреть сообщение
pawn Код:
new PlayerClothesList[][] =
{
* * {19163, "GimpMask"},
* * {18639, "CowBoyHat"}
};
and usage?
Reply
#6

Quote:
Originally Posted by ]Rafaellos[
Посмотреть сообщение
If I'm not mistaken: (I have to code for a while)

pawn Код:
new PlayerClothesList[][] =
{
    {19163, "GimpMask"},
    {18639, "CowBoyHat"}
};
Usage

pawn Код:
PlayerClothesList[0][0] //19163
PlayerClothesList[0][1] //GimpMask
your code won't show anything.... just blank
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)