help plz
#6

so add SendDeathMessage(killer,killee,weapon) into them to get it to do it when them things happen
Код:
public OnPlayerConnect(playerid) {
    SendDeathMessage(playerid, INVALID_PLAYER_ID, 200);
	new string[256],PlayerName[24],file[256]; file = GetPlayerFile(playerid);
	GetPlayerName(playerid,PlayerName,24); if(!dini_Exists(file)) CreateUserConfigFile(playerid);
	for(new i = 0; i < 100; i++) {
	  if(strfind(PlayerName,ForbidNames[i],true)!=-1 && Config[ForbidData]) {
			switch(Config[ForbidData]) { case 1: Kick(playerid); case 2: Ban(playerid); }
			return 1;
		}
	}
and do the same for OnPlayerDeath and OnPlayerDisconnect
Reply


Messages In This Thread
help plz - by leociclon - 28.05.2010, 03:12
Re: help plz - by russo666 - 28.05.2010, 03:29
Re: help plz - by leociclon - 28.05.2010, 04:05
Re: help plz - by (SF)Noobanatior - 28.05.2010, 04:50
Re: help plz - by leociclon - 28.05.2010, 04:56
Re: help plz - by (SF)Noobanatior - 28.05.2010, 05:00

Forum Jump:


Users browsing this thread: 1 Guest(s)