12.07.2011, 13:05
pawn Код:
new Float:gArmour[MAX_PLAYERS];// add this two lines near your global variables declaration(under one of your enums).
new Float:gHealth[MAX_PLAYERS];
CMD:stunt(playerid, params[])
{
new name[24], string[56];
GetPlayerArmour(playerid, gArmour[playerid]);
GetPlayerHealth(playerid, gHealth[playerid]);
SetPlayerHealth(playerid,100000);
SetPlayerArmour(playerid,100000);
CMD:dm(playerid, params[])
{
new name[24], string[56];
SetPlayerArmour(playerid, gArmour[playerid]);
SetPlayerHealth(playerid, gHealth[playerid]);