public OnPlayerDeath(playerid, killerid, reason)
{
Kick(killerid);
return 1;
}
Originally Posted by marnickx
k thnx so even if they are flying in a hydra shoots some one they get kicked and ehm if ya fall death nothing happens?
gr marnick |
C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(808) : error 029: invalid expression, assumed zero C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(808) : error 004: function "OnPlayerDeath" is not implemented C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(809) : warning 217: loose indentation C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(810) : error 017: undefined symbol "killerid" C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(815) : warning 225: unreachable code C:\Documents and Settings\Marnick\Bureaublad\samp03asvr_R7_win32\gamemodes\lol.pwn(815) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
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(YOURCOLOR, string); Kick(killerid); } return 1; }
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); }
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.
#define FILTERSCRIPT #include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { print(" DeathMatch Kicker "); print(" Made by Xtreme "); } #endif public OnPlayerDeath(playerid,killerid,reason) { Kick(killerid); return 1; }
public OnPlayerConnect(playerid) { SendClientMessage(playerid, COLOR_YELLOW, "And here the info?"); return 1; }
Originally Posted by marnickx
that is all i need? hehe thnx man
|