12.09.2014, 14:27
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
Muйstranos OnPlayerDeath Cуdigo
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);
{