06.12.2015, 00:52
I put at the end of this public record that will place them and see if I can help
public
Fin register
public
Код:
public SetPlayerPosAfterRegister(playerid) { LimpiarChat(playerid, MAX_CHAT_CLEAR); GetPlayerData[playerid][P_BankAccount] += 1500; GetPlayerData[playerid][P_Trabajo] = JOB_TYPE_NONE; GetPlayerData[playerid][P_Level] = PLAYER_START_LEVEL; GetPlayerData[playerid][P_Rank] = (MAX_FACTION_RANK - 1); GameTextForPlayer(playerid, "~g~~h~ЎBienvenido!", 5000, 5), GivePlayerMoneyEx(playerid, 5000); SendClientMessage(playerid, COLOR_BLANCO, "Informaciуn: {FF5100}ЎEres Nuevo! {FFFFFF}Te hemos regalado {FF5100}Nivel 1 + $5000 {FFFFFF}de Bienvenida."); SetSpawnInfo(playerid, NO_TEAM, NEWBIE_SKIN, WelcomeSpawn[0], WelcomeSpawn[1], WelcomeSpawn[2], WelcomeSpawn[3], -1, -1, -1, -1, -1, -1); SetPlayerPosEx(playerid, WelcomeSpawn[0], WelcomeSpawn[1], WelcomeSpawn[2]); SetPlayerFightingStyleEx(playerid, FIGHT_STYLE_NORMAL); SetPlayerHungerLevel(playerid, DEFAULT_PLAYER_HUNGER); SetPlayerFacingAngle(playerid, WelcomeSpawn[3]); SetPlayerHealthEx(playerid, MAX_PLAYER_HEALTH); SetPlayerSkinEx(playerid, NEWBIE_SKIN); SetCameraBehindPlayer(playerid); SpawnPlayer(playerid); return 1; }
Код:
else if(dialogid == DIALOG_SEXO) { if(response) { SendClientMessage(playerid, COLOR_AVISOS, "** [INFORMACIУN » REGISTRO PASO N°4]: {FFFFFF}Muy bien, asн que tu gйnero sexual es {85EB17}Masculino{FFFFFF}."); return 1; } else { SendClientMessage(playerid, COLOR_AVISOS, "** [INFORMACIУN » REGISTRO PASO N°4]: {FFFFFF}Muy bien, asн que tu gйnero sexual es {85EB17}Femenino{FFFFFF}."); return 1; } }