Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Recommended Posts

Posted

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];

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.