Problem with FS
#3

Quote:
Originally Posted by jameskmonger
It's nothing to do with it being run on Linux.

(Hint: It's to do with OnPlayerDeath)
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new killername[MAX_PLAYER_NAME];
new playername[MAX_PLAYER_NAME];
new string[256];
GetPlayerName(killerid, killername, sizeof(killername));
GetPlayerName(playerid, playername, sizeof(playername));
if(BbI3oB[playerid] == 1 && BbI3oB[killerid] == 1 && duelstart == 1)
{
SpawnPlayer(killerid);
BbI3oB[playerid] = 0;
BbI3oB[killerid] = 0;
duelstart = 0;
format(string, sizeof(string), "*You won duel with %s",playername);
SendClientMessage(killerid,COLOR_YELLOW, string);
format(string, sizeof(string), " *You loose duel with %s",killername);
SendClientMessage(playerid,COLOR_YELLOW, string);
format(string, sizeof(string), " %s won duel with %s",killername,playername);
SendClientMessageToAll(COLOR_YELLOW, string);
}
return 0;
}
this is my OnPlayerDeath. But I can't find the error
Reply


Messages In This Thread
Problem with FS - by [EnergY] - 21.03.2010, 07:59
Re: Problem with FS - by jameskmonger - 21.03.2010, 08:06
Re: Problem with FS - by [EnergY] - 21.03.2010, 08:09
Re: Problem with FS - by jameskmonger - 21.03.2010, 08:11
Re: Problem with FS - by [EnergY] - 21.03.2010, 08:15

Forum Jump:


Users browsing this thread: 1 Guest(s)