Enter Vehicle Show cammera [+REP]
#6

https://sampforum.blast.hk/showthread.php?tid=525017 i am using this.

PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(
team[playerid] == TEAM_HUMAN)
    {
        new 
string[256];
        if(
Map[EvacType] == 1)
        {
            
TogglePlayerSpectating(playerid1);
            
PlayerSpectateVehicle(playerid1);
            
//SetPlayerInterior(playerid,0);
            //SetPlayerPos(playerid,-1408.2051,-970.8841,198.9738);
            
format(string,sizeof(string), ""COL_WHITE"["COL_BLUE"HUMAN"COL_WHITE"] %s Has rached to evac point with "COL_RED"%d kills"COL_WHITE" in dhis round! He will come human next round!",PlayerName(playerid), pInfo[playerid][pKillsIn1Map]);
            
SendClientMessageToAll(-1,string);
            
DisablePlayerCheckpoint(playerid);
            
CurePlayer(playerid);
            
GivePlayerXP(playerid,50);
            
pInfo[playerid][pEvac]++;
            
pInfo[playerid][pCoins]++;
            
//SetPlayerColor(playerid,COLOR_YELLOW);
        
}

        if(
Map[EvacType] == 2)
        {
            
SetPlayerPos(playerid,3024.4983,447.9744,14.7813);
            
SetPlayerInterior(playerid,0);
            
format(string,sizeof(string), ""COL_WHITE"["COL_BLUE"HUMAN"COL_WHITE"] %s Has rached to evac point with "COL_RED"%d kills"COL_WHITE" in dhis round! He will come human next round!",PlayerName(playerid), pInfo[playerid][pKillsIn1Map]);
            
SendClientMessageToAll(-1,string);
            
DisablePlayerCheckpoint(playerid);
            
CurePlayer(playerid);
            
GivePlayerXP(playerid,50);
            
pInfo[playerid][pEvac]++;
            
pInfo[playerid][pCoins]++;
            
//SetPlayerColor(playerid,COLOR_YELLOW);
        
}

          if(
Map[EvacType] == 3)
        {
            
SetPlayerPos(playerid,285.5,2510.30004882817,121.5);
            
SetPlayerInterior(playerid,0);
            
format(string,sizeof(string), ""COL_WHITE"["COL_BLUE"HUMAN"COL_WHITE"] %s Has rached to evac point with "COL_RED"%d kills"COL_WHITE" in dhis round! He will come human next round!",PlayerName(playerid), pInfo[playerid][pKillsIn1Map]);
            
SendClientMessageToAll(-1,string);
            
DisablePlayerCheckpoint(playerid);
            
CurePlayer(playerid);
            
GivePlayerXP(playerid,50);
            
pInfo[playerid][pEvac]++;
            
pInfo[playerid][pCoins]++;
            
//SetPlayerColor(playerid,COLOR_YELLOW);
        
}

        if(
Map[EvacType] == 4)
        {
            
SetPlayerPos(playerid,1456.3000488281,-1126,427.10000610352);///By Fahad
            
SetPlayerInterior(playerid,0);
            
format(string,sizeof(string), ""COL_WHITE"["COL_BLUE"HUMAN"COL_WHITE"] %s Has rached to evac point with "COL_RED"%d kills"COL_WHITE" in dhis round! He will come human next round!",PlayerName(playerid), pInfo[playerid][pKillsIn1Map]);
            
SendClientMessageToAll(-1,string);
            
DisablePlayerCheckpoint(playerid);
            
CurePlayer(playerid);
            
GivePlayerXP(playerid,50);
            
pInfo[playerid][pEvac]++;
            
pInfo[playerid][pCoins]++;
            
GivePlayerWeapon(playerid,46,1);
            
//SetPlayerColor(playerid,COLOR_YELLOW);

        
}
    }
    return 
1;

I mode it and dont work.
Reply


Messages In This Thread
Enter Vehicle Show cammera [+REP] - by arlindi - 17.08.2014, 20:49
Re: Enter Vehicle Show cammera [+REP] - by arlindi - 17.08.2014, 20:56
Re: Enter Vehicle Show cammera [+REP] - by SnG.Scot_MisCuDI - 17.08.2014, 20:57
Re: Enter Vehicle Show cammera [+REP] - by arlindi - 17.08.2014, 21:04
Re: Enter Vehicle Show cammera [+REP] - by SnG.Scot_MisCuDI - 17.08.2014, 21:09
Re: Enter Vehicle Show cammera [+REP] - by arlindi - 17.08.2014, 21:12
Re: Enter Vehicle Show cammera [+REP] - by SnG.Scot_MisCuDI - 17.08.2014, 21:15
Re: Enter Vehicle Show cammera [+REP] - by arlindi - 17.08.2014, 21:18
Re: Enter Vehicle Show cammera [+REP] - by arlindi - 17.08.2014, 21:34
Re: Enter Vehicle Show cammera [+REP] - by arlindi - 18.08.2014, 08:52

Forum Jump:


Users browsing this thread: 1 Guest(s)