25.08.2014, 15:52
pawn Код:
public OnVehicleDeath(vehicleid, killerid)
{
new string[128];
if(vehicleid == ObjectiveGreen) {
SetVehicleToRespawn(ObjectiveGreen);
format(string, sizeof(string), "{FFFFFF}Os {16F51D}Destroyers{FFFFFF} nгo conseguiram levar o Carro Forte!", vehicleid, killerid, ObjectiveGreen);
SendClientMessageToAll(0xFFFFFFFF, string);
}
else if(vehicleid == ObjectiveRed) {
SetVehicleToRespawn(ObjectiveRed);
format(string, sizeof(string), "{FFFFFF}Os {FF0000}Killers{FFFFFF} nгo conseguiram levar o Carro Forte!", vehicleid, killerid, ObjectiveRed);
SendClientMessageToAll(0xFFFFFFFF, string);
}
return 1;
}