when i try to put this
Код:
public OnPlayerConnect(playerid)
{
gHealthArmor[playerid] = Create3DTextLabel("{FFFF00}Armor:{FFFFFF} 0.0\n{FF0000}Health:{FFFFFF} 100.0", -1, 0.0, 0.0, 0.0, 20.0, 0);
Attach3DTextLabelToPlayer(gHealthArmor[playerid], playerid, 0.0, 0.0, 0.54);
gFloatVars[playerid][0] = 100.0; // Health
gFloatVars[playerid][1] = 0.0; // Armor
return 1;
}
Next line is unreachable code
Example
Код:
public OnPlayerConnect(playerid)
{
{
gHealthArmor[playerid] = Create3DTextLabel("{FFFF00}Armor:{FFFFFF} 0.0\n{FF0000}Health:{FFFFFF} 100.0", -1, 0.0, 0.0, 0.0, 20.0, 0);
Attach3DTextLabelToPlayer(gHealthArmor[playerid], playerid, 0.0, 0.0, 0.54);
gFloatVars[playerid][0] = 100.0; // Health
gFloatVars[playerid][1] = 0.0; // Armor
return 1;
}
// • Removed Objects for Bloodz HQ
RemoveBuildingForPlayer(playerid, 3831, -2688.7266, 193.3125, 7.8672, 0.25);
RemoveBuildingForPlayer(playerid, 3835, -2678.7266, 194.6953, 6.6094, 0.25);
RemoveBuildingForPlayer(playerid, 3836, -2669.4453, 196.2969, 8.0313, 0.25);
RemoveBuildingForPlayer(playerid, 3841, -2651.3203, 196.7578, 8.0313, 0.25);
RemoveBuildingForPlayer(playerid, 3846, -2660.3828, 195.3672, 9.5313, 0.25);
RemoveBuildingForPlayer(playerid, 3820, -2688.7266, 193.3125, 7.8672, 0.25);
RemoveBuildingForPlayer(playerid, 1446, -2683.8047, 202.3203, 4.1328, 0.25);