skin going to deault after death
#3

Код:
public OnPlayerSpawn(playerid)
{
	if(gPlayerLogged[playerid])
	{
		SetPlayerSpawn(playerid);
		SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]);
	}
	return 1;
}
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	new string[128];
	if(IsPlayerConnected(killerid))
	{
	  if(killerid != playerid)
	  {
	   	if(AdminDuty[playerid])
		  {
		    if(!AdminDuty[killerid])
		    {
					KickPlayer(killerid,"System","Killing an administrator on duty with abuse.");
					format(string, sizeof(string), "[INFO:] System has kicked %s, Reason: Killing an administrator on duty with abuse. ", PlayerName(killerid));
					KickLog(string);
				}
		  }
	  	SetPlayerWantedLevelEx(killerid,GetPlayerWantedLevelEx(playerid)+1);
	  }
	}
	return 1;
}

Reply


Messages In This Thread
skin going to deault after death - by 02manchestera - 31.01.2010, 14:52
Re: skin going to deault after death - by kLx - 31.01.2010, 14:55
Re: skin going to deault after death - by 02manchestera - 31.01.2010, 14:58
Re: skin going to deault after death - by kLx - 31.01.2010, 14:59
Re: skin going to deault after death - by ray187 - 31.01.2010, 15:00
Re: skin going to deault after death - by 02manchestera - 31.01.2010, 15:02
Re: skin going to deault after death - by 02manchestera - 31.01.2010, 15:08

Forum Jump:


Users browsing this thread: 2 Guest(s)