AYUDA REVISEN ESTO QUE ESTA MAL AVER ENTREN porque muero automaticamente?
#1

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

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);
{

Reply
#2

Translated with ******:

Good SAMP community, I want you to help me in this. I have a gm but when I enter the server my character automatically dies not stop stop death help me revise the below aver please if they are set agradeceria. gm is the type fz

pawn Код:
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, = 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, 100); Handcuffed [playerid] = 0;
    SetTimerEx ("ApareceHospital", 4000, false, "d", playerid )
    if (GetPlayerWantedLevel (playerid) == 0) { SetPlayerWantedLevel (killerid, 1);
    {
Muйstranos OnPlayerDeath Cуdigo
Reply
#3

Quote:
Originally Posted by SturtIndia
Посмотреть сообщение
Translated with ******:

Good SAMP community, I want you to help me in this. I have a gm but when I enter the server my character automatically dies not stop stop death help me revise the below aver please if they are set agradeceria. gm is the type fz

pawn Код:
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, = 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, 100); Handcuffed [playerid] = 0;
    SetTimerEx ("ApareceHospital", 4000, false, "d", playerid )
    if (GetPlayerWantedLevel (playerid) == 0) { SetPlayerWantedLevel (killerid, 1);
    {
Muйstranos OnPlayerDeath Cуdigo
aca esta man

public OnPlayerDeath(playerid, killerid, reason)
{
GivePlayerMoneyAC(playerid, 0);

Esposado[playerid] = 0;

SetTimerEx("ApareceHospital", 2000, 0, "d", playerid);
if(GetPlayerWantedLevel(playerid) == 0)
{
SetPlayerWantedLevel(killerid, 1);
{
Reply
#4

Quote:
Originally Posted by Smiht
Посмотреть сообщение
aca esta man

public OnPlayerDeath(playerid, killerid, reason)
{
GivePlayerMoneyAC(playerid, 0);

Esposado[playerid] = 0;

SetTimerEx("ApareceHospital", 2000, 0, "d", playerid);
if(GetPlayerWantedLevel(playerid) == 0)
{
SetPlayerWantedLevel(killerid, 1);
{
Utilice [PAWN] [/ PAWN] En su cуdigo, por favor? Y proporcionar el cуdigo completo hasta return 1;
+ Estб publicando en la secciуn posterior mal aquн: http://forum.sa-mp.com/forumdisplay.php?f=29
Reply
#5

Quote:
Originally Posted by SturtIndia
Посмотреть сообщение
Utilice [PAWN] [/ PAWN] En su cуdigo, por favor? Y proporcionar el cуdigo completo hasta return 1;
+ Estб publicando en la secciуn posterior mal aquн: http://forum.sa-mp.com/forumdisplay.php?f=29
Gracias man , es que soy novato en este foro de SAMP y favor bien grande por favor, nose modificar eso, tu lo podrias aser por favor brother?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)