Jump to content

Cum sa nu iti mai pice serverul prin /report sau alte dialoguri.


RebornAdevarat
 Share

Recommended Posts

Salut,astazi va voi prezenta cum sa nu va mai pice serverul prin /report /changepass sau altele.

Multii "incepatori" nu stie de ce le pica serverul.

Asta nu ar fi protectie si pentru altele de ex:irc,sau unele.

Deci va duceti la public OnDialogResponse

 

Si puneti aceasta.

 

 

{

SendClientMessage(playerid, COLOR_GENANNOUNCE, "SERVER: Invalid dialog input. You can't use %%.");
ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_INPUT, "Invalid dialog input", "Invalid dialog input", "OK", "Exit");
return 1;
}

 
 
 
Si asa nu va mai pica serverul prin /report /changepass.
Deci sper sa va placa tutorialul de astazi.
Edited by RebornAdevarat
Link to comment
Share on other sites

 

 

{ SendClientMessage(playerid, COLOR_GENANNOUNCE, "SERVER: Invalid dialog input. You can't use %%."); ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_INPUT, "Invalid dialog input", "Invalid dialog input", "OK", "Exit"); return 1; }

 

asta iti inchide public-ul OnDialogResponse si iti da si eroare ca restul codului o sa ramana pe afara, calculatorul nestiind ce sa faca cu el. 

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

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

Guest
Reply to this topic...

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

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. 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.