Error
#6

Quote:
Originally Posted by Ananisiki
Посмотреть сообщение
A bit what I have :

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new kName[128];
    new string[503];
    new pID;
    isDead[playerid] = 1;
    SetPlayerScore(playerid, GetPlayerScore(playerid) -1);
    SetPlayerScore(killerid, GetPlayerScore(killerid) +1);
    KillingSpree[killerid] ++;
    KillingSpree[playerid] = 0;
    if(IsPlayerConnected(killerid) && killerid != INVALID_PLAYER_ID)
    {
    new WeapName[32], Name[MAX_PLAYER_NAME], KillerName[MAX_PLAYER_NAME];
    GetWeaponName(reason, WeapName, sizeof(WeapName));
    GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
    GetPlayerName(killerid, KillerName, MAX_PLAYER_NAME);
The issue here is you haven't created Name and KillerName. In regards to my/your last post, did you initialize and fix the problem, then?
Reply


Messages In This Thread
Error - by Ananisiki - 08.09.2013, 17:38
Re: Error - by Fierro - 08.09.2013, 18:04
Re: Error - by Ananisiki - 08.09.2013, 18:10
Re: Error - by Fierro - 08.09.2013, 18:16
Re: Error - by Ananisiki - 08.09.2013, 18:24
Re: Error - by Fierro - 08.09.2013, 18:31
Re: Error - by Matnix - 08.09.2013, 19:41

Forum Jump:


Users browsing this thread: 1 Guest(s)