Jump to content

ghosty2004

Membru
  • Posts

    45
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by ghosty2004

  1. Il poti gasii in gamemode. SERVER_RCON sau RCON_PASSWORD
  2. L-am rezolvat. Un moderator sa dea T/C.
  3. La Create3DTextLabel e limita... [700 3d text max] -> eu am vr-o 1500 la house
  4. E un bug, daca ma apropri de primul 3dtext . ala nu imi apare, doar ala care e langa el... Adica plm, oare ar cauza ceva din gm ? Ce pareri aveti ?
  5. Cum vezi tu, e din baza de data, la LoadProps...
  6. Nop, nu i asta problema, am incercat deja alea, inainte sa fac post-ul aceasta.
  7. Hey Salut all, am si eu o problema la functia "CreateDynamic3DTextLabel" - La Load -ul de la Case & Biz (Nu vrea sa apara primul 3d text label la care ma apropi, si daca de exemplu daca mai e un label langa el, ala apare.. function LoadProps() { new Field[24], Field2[24], X, Rows, Fields, String[1024], ExpiredCount; cache_get_data(Rows, Fields, SQL); new lvlstring[123]; //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ for(new i = 0; i < Rows; i++) { X = CACHE(i, "ID", SQL); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ CONTENT(i, "PropName", Field, SQL); format(PropInfo[X][PropName], 24, "%s", Field); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ CONTENT(i, "PropOwner", Field2, SQL); format(PropInfo[X][PropOwner], 24, "%s", Field2); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ PropInfo[X][PropX] = FLOAT(i, "PosX", SQL); PropInfo[X][PropY] = FLOAT(i, "PosY", SQL); PropInfo[X][PropZ] = FLOAT(i, "PosZ", SQL); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ PropInfo[X][InteriorX] = FLOAT(i, "IntX", SQL); PropInfo[X][InteriorY] = FLOAT(i, "IntY", SQL); PropInfo[X][InteriorZ] = FLOAT(i, "IntZ", SQL); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ PropInfo[X][IntID] = CACHE(i, "Interior", SQL); PropInfo[X][p_Level] = CACHE(i, "Level", SQL); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ PropInfo[X][Cost] = CACHE(i, "PropCost", SQL); PropInfo[X][CostM] = CACHE(i, "PropCostM", SQL); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ PropInfo[X][PTime] = CACHE(i, "PropTime", SQL); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ PropInfo[X][Earning] = CACHE(i, "PropEarning", SQL); PropInfo[X][EarningM] = CACHE(i, "PropEarningM", SQL); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ if(PropInfo[X][p_Level] == 1) lvlstring = "{FF9900}Standard"; if(PropInfo[X][p_Level] == 2) lvlstring = "{FF0000}Premium"; //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ if(strcmp(PropInfo[X][PropOwner], "Nobody", true) == 0) { PropInfo[X][PropMapIcon] = CreateDynamicMapIcon(PropInfo[X][PropX], PropInfo[X][PropY], PropInfo[X][PropZ], 52, 52); format(String, sizeof(String), "{9C9621}\"%s\"\n{9C9621}Property is For Sale\n{2982FF}Cost: {00FF22}%d coins and $%d\n{2982FF}Win: {00FF22}%d coins and $%d\n{DE00BD}/business", PropInfo[X][PropName], PropInfo[X][Cost], PropInfo[X][CostM], PropInfo[X][Earning], PropInfo[X][EarningM]); } else { PropInfo[X][PropMapIcon] = CreateDynamicMapIcon(PropInfo[X][PropX], PropInfo[X][PropY], PropInfo[X][PropZ], 36, 36); format(String, sizeof(String), "{9C9621}\"%s\"\n{2982FF}Business Owner: {00FF22}%s\n{2982FF}Business Level: %s\n\n{2982FF}Cost: {00FF22}%d coins and $%d\n{2982FF}Win: {00FF22}%d coins and $%d\n{DE00BD}/business", PropInfo[X][PropName], PropInfo[X][PropOwner], lvlstring, PropInfo[X][Cost], PropInfo[X][CostM], PropInfo[X][Earning], PropInfo[X][EarningM]); } Prop3D[X] = CreateDynamic3DTextLabel(String, ~1, PropInfo[X][PropX], PropInfo[X][PropY], PropInfo[X][PropZ], 30.0); PropPickUP[X] = CreateDynamicPickup(1274, 1, PropInfo[X][PropX], PropInfo[X][PropY], PropInfo[X][PropZ]); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ if(strcmp(PropInfo[X][PropOwner], "Nobody", true) != 0 && PropInfo[X][PTime] < gettime()) { format(PropInfo[X][PropName], 24, "ForSale"), format(PropInfo[X][PropOwner], 24, "Nobody"); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- DestroyDynamicMapIcon(PropInfo[X][PropMapIcon]); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- PropInfo[X][PropMapIcon] = CreateDynamicMapIcon(PropInfo[X][PropX], PropInfo[X][PropY], PropInfo[X][PropZ], 52, 52); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- format(String, sizeof(String), "{9C9621}\"%s\"\n{9C9621}Business is For Sale\n{2982FF}Cost: {00FF22}%d Coins and $%d\n{2982FF}Win: {00FF22}%d Coins and $%d\n{DE00BD}/business", PropInfo[X][PropName], PropInfo[X][Cost], PropInfo[X][CostM], PropInfo[X][Earning], PropInfo[X][EarningM]); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- UpdateDynamic3DTextLabelText(Prop3D[X], ~1, String); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- format(eQuery, 512, "UPDATE `Properties` SET `PropOwner` = 'Nobody', `PropName` = 'ForSale', `PropTime` = '0' WHERE `ID` = '%d'", X); mysql_tquery(SQL, eQuery, "", ""); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- format(eQuery, sizeof(eQuery), "UPDATE `Accounts` SET `Property` = '0' WHERE `Property` = %d", X); mysql_tquery(SQL, eQuery, "", ""); //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- PropInfo[X][PTime] = 0, ExpiredCount++; } } printf("Loaded %d Properties and %d reseted!", Rows, ExpiredCount); return true; } Aic de exemplu, nu apare deloc:
  8. Download Link readaugat, puteti sa-l descarcati.
  9. Download link updated for gamemode, but the database haved any errors, and i solved. Now you download the gamemode here: http://www.mediafire.com/file/7c08xlnosgba3ne/eXtreme_Stunt_Server_-_GM.rar/file
  10. zici ca nu fac gang system ca pe rss/xss ? daca vr iti dovedes ca o fac chiar ca pe xss sau rss
  11. nu glumesti ma ? dc sa nu aiba valoare , tu nu mai comenta mie in morti matii... ce murdar poti sa fi. ps: nu dau fail srry
  12. Nu glumesti? Cica bug-uri, n-am gasit eu bug-uri si gasesti tu?:) Faci doar de ofticare ca am postat gm-ul ;))
  13. Gamemode download link: http://www.mediafire.com/file/lqqckgbi5un7pyk/eXtreme_Stunt_Server_-_GM.rar/file Am postat gm-ul iar, fiindca multi deja o au, si multi mi-au trimis PM sa ii dau si etc.. Am decis sa postez iar gm-ul.
×
×
  • 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.