[Ajuda]Checkpoint
#5

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(gTeam[playerid] == TEAM_HUMAN)
    {
        GameTextForPlayer(playerid,"~w~ Vocк deve ser um zumbi para obter a cura para se tornar um ser ~g~ humano",6000,4);
    }
    if(gTeam[playerid] == TEAM_ZOMBIE)
    {
        GameTextForPlayer(playerid,"~w~ Vocк estб sendo~g~ Curado",6000,4);
        SetTimerEx("Cura", 2*60000, false, "i", playerid);
        //Anim, procure na biblioteca de anims por FALL
    }
    return 1;
}

forward Cura(playerid);
public Cura(playerid) {
    SetPlayerTeam(playerid,TEAM_HUMAN);
    gTeam[playerid] = TEAM_HUMAN;
    SetPlayerSkin(playerid,26);
    GivePlayerWeapon(playerid,24,100);
    SetPlayerColor(playerid,GREEN);
    SendClientMessage(playerid, -1, "Vocк virou humano..!");
    return true;
}
Reply


Messages In This Thread
[Ajuda]Checkpoint - by Mteck - 30.04.2012, 09:47
Re: [Ajuda]Checkpoint - by Chefгo - 30.04.2012, 11:11
Re: [Ajuda]Checkpoint - by Mteck - 30.04.2012, 11:20
Re: [Ajuda]Checkpoint - by Matheus_Ecko - 30.04.2012, 11:54
Re: [Ajuda]Checkpoint - by zbt - 30.04.2012, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)