About return 0;
#6

I don't need code... Read my all post + Need answer with OnPlayerDisconnect.

RICARDO:

I saw one thing in your one script:

Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    new Float:hp;
    GetPlayerHealth(playerid, hp);
    if(hp <= 80 && animLocked[playerid] == 0)
    {
        for(new i = 0; i < MAX_VEHICLES; i++)
        SetVehicleParamsForPlayer(i, playerid, 0, 1);
        animLocked[playerid] = 1;
        ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 0, 1, 1, 1, 0, 1);
        return 1;
    }
    return 0;
}
why you use return 0; ?
Reply


Messages In This Thread
About return 0; - by budelis - 19.08.2012, 08:18
Re: About return 0; - by [MM]RoXoR[FS] - 19.08.2012, 08:32
Re: About return 0; - by IceMeteor - 19.08.2012, 08:43
Re: About return 0; - by budelis - 19.08.2012, 09:12
Re : About return 0; - by ricardo178 - 19.08.2012, 09:17
Re: About return 0; - by budelis - 19.08.2012, 09:25
Re: About return 0; - by playbox12 - 19.08.2012, 09:35
Re: About return 0; - by ryansheilds - 19.08.2012, 09:36

Forum Jump:


Users browsing this thread: 1 Guest(s)