how do i do this?
#1

how do I make the Following team being Anti teamkill by the humans?

Is it like this?:
pawn Код:
if(gTeam[playerid] == TEAM_BLOODLINE)
{
    new string[64], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    format(string, sizeof(string), "BLOODLINE ANNOUNCE: %s is now on-duty.", name);
    SendClientMessageToAll(0xD40412FF, string);
    SetPlayerHealth(playerid, 100);
    SetPlayerArmour(playerid, 100);
    SetPlayerSkin(playerid, blskins[random(3)]);
    SetPlayerTeam(playerid, 2); // This onee
        SetPlayerTeam(playerid, 1); // and this one
}
Reply


Messages In This Thread
how do i do this? - by Deaglez - 10.11.2012, 02:14
Re: how do i do this? - by Lordzy - 10.11.2012, 02:35
Re: how do i do this? - by Deaglez - 10.11.2012, 02:56
Re: how do i do this? - by Lordzy - 10.11.2012, 06:34

Forum Jump:


Users browsing this thread: 1 Guest(s)