25.09.2009, 19:29
i need something like this when player death..
But;
Isn't work for me :S How can i send death message with weapon name? Or is my script true?
Like;
Thanks For Helps...
-TraNe15-
Код:
new gunname[32], string[64], fName[MAX_PLAYER_NAME], sName[MAX_PLAYER_NAME]; GetWeaponName(reason,gunname,sizeof(gunname)); GetPlayerName(playerid,fName,MAX_PLAYER_NAME); GetPlayerName(killerid,sName,MAX_PLAYER_NAME); format(string,sizeof(string),"%s got 1 point for killing %s. %s.",sName,fName,gunname);
Код:
GetWeaponName(reason,gunname,sizeof(gunname));
Like;
Код:
TraNe15 got 1 points for killing blabla. Weapon:Ak-47
-TraNe15-