Jump to content

MAX_PASSWORD_LENGTH Error


Recommended Posts

Salut. Am luat si eu un Gamemode de la capat de la 0, dar nu inteleg de ce-mi da mereu aceleasi erori indiferent ce as face .. plus ca e un sistem de inregistrare simplu.. 

Quote

C:\Users\.pwn(237) : error 017: undefined symbol "MAX_PASSWORD_LENGTH"
C:\Users\.pwn(237) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\.pwn(237) : error 036: empty statement
C:\Users\.pwn(237) : fatal error 107: too many error messages on one line

Am incercat si cu DialogSystem si fara.. 

Am "#define" pus corect, zic eu .. (dupa cum puteti vedea mai jos)

Accept orice pareri. 

 

Multumesc frumos :D 

 

Quote

#include <a_samp>
#include <sscanf>

#if defined FILTERSCRIPT

#define MAX_PLAYER_NAME 24
#define MAX_PASSWORD_LENGTH 32

new playerUsername[MAX_PLAYER_NAME];
new playerPassword[MAX_PASSWORD_LENGTH];

 

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

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