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.

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