12.09.2014, 14:22
Buenas comunidad SAMP , quiero que me ayuden en esto. tengo una gm pero cuando entro al server mi personaje muere automaticamente no deja de parar la muerte ayudenme aver revisen lo de abajo por favor si logran configurarlo se los agradeceria. es la gm tipo fz
esto es de onplayer spawn
|_________________________________________________ ________________|
esto es de player death
esto es de onplayer spawn
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; } |
esto es de player death
Quote:
public OnPlayerDeath(playerid, killerid, reason) { GivePlayerMoneyAC(playerid, 0); Esposado[playerid] = 0; SetTimerEx("ApareceHospital", 2000, 0, "d", playerid); if(GetPlayerWantedLevel(playerid) == 0) { SetPlayerWantedLevel(killerid, 1); { |