Jump to content

Reflex

Membru
  • Posts

    64
  • Joined

  • Last visited

  • Days Won

    2

Community Answers

  1. Reflex's post in Sistem monitorizare staff was marked as the answer   
    format(query, sizeof(query), "DELETE * FROM `logExecCmds` WHERE `Player` = '%s'", numejucator);Incearca asa:
    format(query, sizeof(query), "DELETE FROM logExecCmds WHERE Player = '%s'", numejucator);
  2. Reflex's post in Nu se actualizează hudul was marked as the answer   
    Daca vrei ajutor, sa iti pot corecta scriptul.
    La inceputul scriptului pui:
    new Text:Health[MAX_PLAYERS];La OnGamemodeInit:
    for(new i = 0; i < MAX_PLAYERS; i++) { Health[i] = TextDrawCreate(blablabla) //continui tu cu textdraw-ul.. }La OnPlayerSpawn:
    TextDrawShowForPlayer(playerid, Health[playerid]);La sfarsitul scriptului:
    forward viata(playerid); public viata(playerid) { new string[5], Float:pHealth; GetPlayerHealth(playerid,pHealth); format(string, sizeof(string), "%.0f%", pHealth); TextDrawSetString(Health[playerid], string); }Si adaugi la OnPlayerUpdate acest timer:
    SetTimer("viata",1000,1);P.S: Nu mai fi asa guraliv, atat timp cat ai nevoie de ajutor, macar vorbeste si tu mai ok. Daca postai textdraw-ul it dadeam mura in gura tot. Romanul tot roman e.
×
×
  • 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.