Bugged Kill Streak, whats wrong with it?
#2

Thats because you didnt stored the 'killerid's name in a variable.
pawn Код:
format(killstringa, sizeof(killstringa), " /*this is for a string*/%s is on a killing spree with 3 kills!", /*this is an integer*/killerid);
So that will give random characters.
pawn Код:
stock GetName(playerid)
{
    new Name[24];
    GetPlayerName(playerid, Name, 24);
    return Name;
}
format(killstringa, sizeof(killstringa), " %s is on a killing spree with 3 kills!", GetName(killerid));
The 'GetName()' will return the 'playerid's name, this can be anyones name.
Reply


Messages In This Thread
Bugged Kill Streak, whats wrong with it? - by random123 - 04.10.2011, 06:53
Re: Bugged Kill Streak, whats wrong with it? - by Wesley221 - 04.10.2011, 06:58
Re: Bugged Kill Streak, whats wrong with it? - by random123 - 05.10.2011, 05:28

Forum Jump:


Users browsing this thread: 1 Guest(s)