Buenas ,aca les dejo los codigos, revisen que esta mal de porque cuando entro automaticamente mi personaje muere sin parar ayudenme por favor
si pueden modificarlos ustedes por favor se los agradeceria
Quote:
public OnPlayerSpawn(playerid) { TextDrawHideForPlayer(playerid, CN); TextDrawHideForPlayer(playerid, CN2); TextDrawHideForPlayer(playerid, LoginMenu); TextDrawHideForPlayer(playerid, Textdraw7); SetPlayerSkin(playerid,PlayerInfo[playerid][jRopa]); SetPlayerInterior(playerid, PlayerInfo[playerid][jInterior]); SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pMundoVirtual]); SetPlayerScore(playerid,PlayerInfo[playerid][pNivel]); GivePlayerMoney(playerid,PlayerInfo[playerid][pDinero]); SetPlayerArmour(playerid,PlayerInfo[playerid][jArmadura]); SetPlayerHealth(playerid,PlayerInfo[playerid][jVida]); JugadorLogeado[playerid] = 1; KillTimer(MatarMotor[playerid]); ColorJugadorDefault(playerid); if(PlayerInfo[playerid][jPos_x] == 0 && PlayerInfo[playerid][jPos_y] == 0) { SetPlayerPos(playerid, 1715.7,-1900.4,13.5); JugadorLogeado[playerid] = 1; SetPlayerScore(playerid,1); } else { SetPlayerPos(playerid, PlayerInfo[playerid][jPos_x], PlayerInfo[playerid][jPos_y], PlayerInfo[playerid][jPos_z]); JugadorLogeado[playerid] = 1; } return 1; } public OnPlayerDeath(playerid, killerid, reason) { GivePlayerMoneyAC(playerid, 0); Esposado[playerid] = 0; SetTimerEx("ApareceHospital", 2000, 0, "d", playerid); if(GetPlayerWantedLevel(playerid) == 0) { SetPlayerWantedLevel(killerid, 1); { |
si pueden modificarlos ustedes por favor se los agradeceria
Aucun commentaire:
Enregistrer un commentaire