[searching]Hello im trying to get an deadmatch kicker.
#7

hehe now i have 8 errors xd
Код:
	public OnPlayerDeath(playerid, killerid, reason)
{
 	Kick(killerid);
	return 1;
}
	public OnPlayerDeath(playerid, killerid, reason)
	{
	if(playerid != killerid){
	new pname[MAX_PLAYER_NAME], string[256];
	GetPlayerName(killerid, pname, sizeof(pname));
	format(string, sizeof(string), "%s was kicked for deathmatching!", pname);
	SendClientMessageToAll(COLOR_RED, string);
	Kick(killerid);
}
ehm maybe u can put it in fs?
the errors
Код:
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(821) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(821) : error 004: function "OnPlayerDeath" is not implemented
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(822) : warning 217: loose indentation
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(823) : error 017: undefined symbol "killerid"
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(826) : warning 225: unreachable code
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(826) : warning 217: loose indentation
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(826) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(826) : error 004: function "OnPlayerDeath" is not implemented
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(828) : error 017: undefined symbol "killerid"
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(830) : error 017: undefined symbol "killerid"
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(833) : error 017: undefined symbol "killerid"
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(835) : warning 217: loose indentation
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(838) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Errors.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)