Script stops (OnPlayerDeath)
#1

Hello,

I have this script:
pawn Код:
public OnPlayerDeath( playerid, killerid, reason )
{
    printf("0");
    new szWepName[64], szString[128]/*, Float:x, Float:y, Float:z, Float:x2, Float:y2, Float:z2*/;
    printf("1");
    PlayerInfo[killerid][Kills]++;
    printf("2");
    PlayerSpree[killerid]++;
    PlayerSpree[playerid] = 0;
    // ..... a bunch of more code
For some reason, the OnPlayerDeath script stops after "1" is printed. "2" is not printed. I hope you can help me.
Reply


Messages In This Thread
Script stops (OnPlayerDeath) - by admantis - 15.12.2011, 19:41
Re: Script stops (OnPlayerDeath) - by kizla - 15.12.2011, 19:46
Re: Script stops (OnPlayerDeath) - by admantis - 15.12.2011, 19:51
Re: Script stops (OnPlayerDeath) - by kizla - 15.12.2011, 19:55
Re: Script stops (OnPlayerDeath) - by Lorenc_ - 15.12.2011, 19:56
Re: Script stops (OnPlayerDeath) - by admantis - 15.12.2011, 20:02
AW: Script stops (OnPlayerDeath) - by BigETI - 15.12.2011, 20:07
Re: AW: Script stops (OnPlayerDeath) - by Joe Staff - 15.12.2011, 20:42

Forum Jump:


Users browsing this thread: 1 Guest(s)