[help!] Death list
#3

I've done this

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	 {
		SendDeathMessage(killerid, playerid, reason);
		return 1;
	 }
	if(IsPlayerConnected(killerid))
	{
	if(IsACop(killerid))
	{
	if(WantedLevel[playerid] >=1)
	{
	SendClientMessage(killerid, COLOR_YELLOW,"*Приступник был посажен в тюрьму");
	PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(600);
	PlayerInfo[playerid][pJailed] = 1;
	PlayerInfo[playerid][pWantedDeaths] += 1;
	SetPlayerInterior(playerid, 6);
	SetPlayerPos(playerid, 264.6288,77.5742,1001.0391);
	return 1;
	}
	}
	}
but seems to me I have no skill in pawno, because it shows too many error messages(((

.pwn(3606) : warning 225: unreachable code
.pwn(3606) : warning 217: loose indentation
.pwn(3652) : error 017: undefined symbol "string"
.pwn(3653) : error 017: undefined symbol "string"
.pwn(3691) : error 017: undefined symbol "string"
.pwn(3691) : error 017: undefined symbol "string"
.pwn(3691) : error 029: invalid expression, assumed zero
.pwn(3691) : fatal error 107: too many error messages on one line

Reply


Messages In This Thread
[help!] Death list - by Paul_Landers - 13.10.2009, 13:52
Re: [help!] Death list - by dice7 - 13.10.2009, 14:56
Re: [help!] Death list - by Paul_Landers - 13.10.2009, 15:05
Re: [help!] Death list - by Paul_Landers - 13.10.2009, 16:15
Re: [help!] Death list - by Born2die - 13.10.2009, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)