30.04.2017, 20:47
Quote:
Код:
case GENERO: { if(response) { switch(listitem) { case 0: { PlayerInfo[playerid][pSexo] = 0; PlayerInfo[playerid][pSkin] = 60; ShowPlayerDialog(playerid, EDAD, DIALOG_STYLE_INPUT, "{FFFFFF}Ingresa tu edad", "{FFFFFF}Ingresa tu edad, recuerda q debe ser mayor a 15 y menor a 70", "Siguiente", "Salir"); } case 1: { PlayerInfo[playerid][pSexo] = 1; PlayerInfo[playerid][pSkin] = 56; ShowPlayerDialog(playerid, EDAD, DIALOG_STYLE_INPUT, "{FFFFFF}Ingresa tu edad", "{FFFFFF}Ingresa tu edad, recuerda q debe ser mayor a 15 y menor a 70", "Siguiente", "Salir"); } } } } Код:
public OnPlayerSpawn(playerid) { SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]); SetPlayerPos(playerid, PlayerInfo[playerid][pPosX], PlayerInfo[playerid][pPosY], PlayerInfo[playerid][pPosZ]); return 1; } |