como puedo crear enums?
#1

Hola, tengo un GM BASE para DM y solo tiene lo siguiente

PHP код:
Nombre=
Contraseсa=
Level=0
Admin
=
Bueno, yo quisiera agregarle muertes, skin, asesinatos, pero no se como crear eso, alguien me dice como se crean?, gracias
Reply
#2

Код:
enum info_p{
    Nombre,
    Pass,
    Level,
    Admin
};
new InfoPlayer[MAX_PLAYERS][info_p];
Код:
InfoPlayer[playerid][Nombre] = valor ;
InfoPlayer[playerid][Pass] = valor ;
InfoPlayer[playerid][Level] = valor ;
InfoPlayer[playerid][Admin] = valor ;
Reply
#3

Quote:
Originally Posted by OTACON
Посмотреть сообщение
Код:
enum info_p{
    Nombre,
    Pass,
    Level,
    Admin
};
new InfoPlayer[MAX_PLAYERS][info_p];
Код:
InfoPlayer[playerid][Nombre] = valor ;
InfoPlayer[playerid][Pass] = valor ;
InfoPlayer[playerid][Level] = valor ;
InfoPlayer[playerid][Admin] = valor ;
ya esta, ahora para cuando muera y me cuente la muerte, a donde la vinculo, onplayerdeath? y que deberia poner?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)