Script stops (OnPlayerDeath)
#3

Quote:
Originally Posted by kizla
Посмотреть сообщение
give us variable for Kills
pawn Код:
PlayerInfo[playerid][Kills]
Quote:
Originally Posted by belhot1992
Посмотреть сообщение
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
Post more of the code maybe?
I don't think that commenting text in between code is a good idea as well.
The other code is +800 lines. Yet irrevelant since the error is probaby nowhere there since the code stops after "1". Commenting text between code is nothing wrong. And I tried your "new code" it does no difference honestly..

Help, please.
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: 5 Guest(s)