why this not work
#3

Quote:

public OnVehicleDeath(vehicleid, killerid)
{
if(gTeam[killerid] == TEAM_GREEN)
if(AccInfo[killerid][tdm] == 1)
{
if(vehicleid == terroristheli)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPlayerTeam(i) == TEAM_GREEN)
{
SendClientMessage(i,LIGHTBLUE,"{0498FB}~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(i,LIGHTBLUE,"{00bfff}[NGP]: {FFFF00}Cops Save The helicopter every Cops team mate Get 5 Score 5000$ Rs/5!");
SendClientMessage(i,LIGHTBLUE,"{0498FB}~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
AccInfo[i][rupees] +=5;
GameTextForPlayer(i,"~y~5 Score~n~~g~5000$~n~~y~Rs/5",2000,1);
SetPlayerScore(i,GetPlayerScore(i)+5);
GivePlayerMoney(i,5000);
SetVehicleToRespawn(terroristheli);
}
}
}
}
return 1;
}

when cops destroy the heli cops dont get score rupees and cash And also thats message
Reply


Messages In This Thread
why this not work - by LovelySoomro - 24.10.2015, 16:54
Re: why this not work - by Dusan01 - 24.10.2015, 17:03
Re: why this not work - by LovelySoomro - 24.10.2015, 17:05
Re: why this not work - by LovelySoomro - 24.10.2015, 17:37
Re : why this not work - by StreetRP - 24.10.2015, 17:38
Re: why this not work - by ATGOggy - 24.10.2015, 18:25

Forum Jump:


Users browsing this thread: 1 Guest(s)