Просмотр полной версии : [Вопрос] SetPlayerHealth
У меня такой вопрос, почему я могу сделать -, а + не могу..
SetPlayerHealth(playerid, -10);
Может быть вы хотели так?
new
Float: p_heal;
GetPlayerHealth(playerid, p_heal);
SetPlayerHealth(playerid, p_heal - 10.0);
// SetPlayerHealth(playerid, p_heal + 10.0);
Может быть вы хотели так?
new
Float: p_heal;
GetPlayerHealth(playerid, p_heal);
SetPlayerHealth(playerid, p_heal - 10.0);
// SetPlayerHealth(playerid, p_heal + 10.0);
Совершенно верно, благодарю...
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. Перевод: zCarot