Jump to content
  • 0

Ajutor Dialog!


Cristian Nemes

Question

Salut, am si eu o problema care ma macina..iar eu sunt la inceput si nu mi pot da seama exact ce are..
Recent mi am bagat gm ul bluffs dar am intampinat niste probleme la dialoguri..la examenul teoretic de la permis nu ti apare mouse ul sa selectezi butoane..si la opencase la fel..si cand vreau licenta de fly, etc la fel.. ma poate ajuta cineva sa aflu de ce? sau si mai bine daca nu cer prea mult, sa rezolv problemele.
Dialogurile:
Dmv:  https://pastebin.com/wwgMAZtm
Dmv TD: 
https://pastebin.com/dKRzeSwD
OpenCase: https://pastebin.com/J4b7B3hU
OpenCase TD: https://pastebin.com/qGaaVaRM
Sper ca am oferit cateva informatii ca sa pot primi putin ajutor..daca nu, sa imi spuneti ce mai trebuie sa ofer :/

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1

CMD:opencase(playerid, params[])

{

if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");

if(InOpenCase[playerid] != 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You already in opencase menu.");

if(InBlackJackGame[playerid] == 1 || RouletteInGame[playerid] == 1 || joacapacanele[playerid] == 1 || GetPVarInt(playerid, "accs") == 1) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You are in another textdraw!");

if(PlayerInfo[playerid][pCases] <= 0)

{

new string[128];

SendClientMessage(playerid, -1,"You don't have any case, but you can get one:");

SendClientMessage(playerid, -1,"- if you complet all your daily quests");

format(string, sizeof(string), "- every 5 online hours(AFK) (left: %d paydays)", PlayerInfo[playerid][pNextCase]);

SendClientMessage(playerid, -1, string);

SendClientMessage(playerid, -1,"- if you are online at 20:30");

return 1;

}

ShowCaseTds(playerid);

SelectTextDraw(playerid, 0xFFFFFF);

InOpenCase[playerid] = 1;

TogglePlayerControllable(playerid, false);

return 1;

}

Link to comment
Share on other sites

  • 0
Acum 14 ore, hanako a spus:

CMD:opencase(playerid, params[])

{

if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");

if(InOpenCase[playerid] != 0) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You already in opencase menu.");

if(InBlackJackGame[playerid] == 1 || RouletteInGame[playerid] == 1 || joacapacanele[playerid] == 1 || GetPVarInt(playerid, "accs") == 1) return SendClientMessage(playerid, COLOR_ERROR, "(Error){FFFFFF} You are in another textdraw!");

if(PlayerInfo[playerid][pCases] <= 0)

{

new string[128];

SendClientMessage(playerid, -1,"You don't have any case, but you can get one:");

SendClientMessage(playerid, -1,"- if you complet all your daily quests");

format(string, sizeof(string), "- every 5 online hours(AFK) (left: %d paydays)", PlayerInfo[playerid][pNextCase]);

SendClientMessage(playerid, -1, string);

SendClientMessage(playerid, -1,"- if you are online at 20:30");

return 1;

}

ShowCaseTds(playerid);

SelectTextDraw(playerid, 0xFFFFFF);

InOpenCase[playerid] = 1;

TogglePlayerControllable(playerid, false);

return 1;

}

A mers, mersi frumos! o sa vad ceva de genu si la restu..cred ca am prins ideea si la ce ai zis mai sus si ce a zis baiatul ala, va multumesc.

Edited by Cristian Nemes
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By HPQ123
      Salut!
      Va prezint noul include pentru a folosi mai simplu dialoguri.
      Da stiu ca mai este o versiune de acest tip pe internet dar aceasta versiune pe care am facut-o are mai multe si merge mult mai bine.
      https://github.com/HPQ123-Oficill/easyDialog/releases
      Astept un feedback ❤️
    • By HPQ123
      Mai multe detalii in pv HPQ123#8114
    • By StefanFun
      Salut! Am o problemă, când vreau să instalez SA-MP 0.3.7-R2 Windows Server ca să fac un server pur și simplu nu se descarcă nimic și se dă refresh la pagină. Fac ceva greșit? Vă rog să mă ajutați.
    • By Tudor Ionut
      Salut. Am si eu o problema la samp. Caracterul meu daca apas pe tasta f, enter, ctrl, shift da cu pumnul incontinuu. Nu pot intra in masina in casa intr un bussines nicaieri. Multumesc anticipat
    • By Rby Robert
      Am incercat sa bag un crate nou si imi da aceste erori!
      nu stiu de la ce este va rog ajutatima!
      error 025: function heading differs from prototype
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.