Jump to content

newbie.

Membru
  • Posts

    51
  • Joined

  • Last visited

Posts posted by newbie.

  1. Problema intalnita (descriere): Am făcut să apară viața la jucător și nu se actualizează, de exemplu eu am viața 100, activez hudu să apară viața, dă unu în mine, îmi scade viața dar la hud apare că tot am 100.
    Ero(area / rile) / warning-(ul / urile): -
    Liniile de cod / sursa / script-ul(obligatoriu): 

    		case DIALOG_HUD4:
    		{
    			if(!response)
    			{
    				hidePlayerDialog(playerid);
    			}
    			else
    			{
    				switch(listitem)
    				{
    					case 0:
    					{
    						new Float: hp;
    						GetPlayerHealth(playerid, hp);
    						format(szMessage, sizeof(szMessage), "~B~~w~%.0f", hp);
    						TextDrawSetString(HealthTD[playerid], szMessage);
    						TextDrawShowForPlayer(playerid, HealthTD[playerid]);
    						SendClientMessage(playerid, COLOR_SETLEADER, "Hud options successfully changed.");
    					}
    					case 1:
    					{
    						new Float: hp;
    						GetPlayerHealth(playerid, hp);
    						format(szMessage, sizeof(szMessage), "~B~%.0f", hp);
    						TextDrawSetString(HealthTD[playerid], szMessage);
    						TextDrawShowForPlayer(playerid, HealthTD[playerid]);
    						SendClientMessage(playerid, COLOR_SETLEADER, "Hud options successfully changed.");
    					}


    Imagini / Video (optional): -
    Ati incercat sa rezolvati singur?: da, am încercat să fac într-un timer dar tot nu merge

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.