Can anyone help me?
#3

That's it.

PHP код:

public OnPlayerEnterDynamicCP(playeridcheckpointid)
{
    if(
checkpointid == cpship)
    {
        if(
gObjectiveReached)
        {
            if(
gTeam[playerid] == TEAM_SWAT)
            {
                
//Team_1 Enter Checkpoint
                
new string[265]; new str[265];
                
GetPlayerName(playeridstrsizeof(str));
                
format(stringsizeof(string), "%s has planted explosives.",str);
                
SendClientMessageToAllCOLOR_PURPLEstring);
                
GameTextForAll(string,4000,5);
                new 
Float:XFloat:YFloat:Z;
                
GetPlayerPos(playeridXYZ);
                
CreatePickup(12521XYZ);
                
ApplyAnimation(playerid"BOMBER""BOM_Plant"4.000000); // Bomb Planting Animation
                
SendClientMessage(playeridCOLOR_RED"Escape ASAP Its about to explode!!");
                
TextDrawShowForAll(EnterCheckpoint);
            }
            else if(
gTeam[playerid] == TEAM_TERRORIST)
            {
                
//Team_2 Enter Checkpoint
                
SendClientMessage(playeridCOLOR_BLUELIGHT"Protect This Area from SWAT");
            }
        }
    }
    return 
1;

Reply


Messages In This Thread
Can anyone help me? - by PrettyDiamond - 10.06.2015, 12:51
Re: Can anyone help me? - by DetoNater - 10.06.2015, 12:59
Re: Can anyone help me? - by DarkLouis - 10.06.2015, 13:20
AW: Can anyone help me? - by PrettyDiamond - 10.06.2015, 19:59
Re: Can anyone help me? - by DarkLouis - 10.06.2015, 20:14

Forum Jump:


Users browsing this thread: 1 Guest(s)