Jump to content
  • 0

problema


IosifR

Question

Salut! Am inceput sa fac un gamemode de la 0 pentru a invata mai mult limbajul pawn. Am facut acest sistem de login/register, dar nu apar dialogurile.. tin sa precizez ca am deschis xampp, am conectat baza... uitati aici gamemodul. multumesc anticipat...

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Ce versiune de mysql este ca imi da niste erori.. 
 

Citat

(73) : error 017: undefined symbol "MAX_PLAYER_NAME"
(10) : error 017: undefined symbol "MAX_PLAYERS"
(12) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
(15) : error 017: undefined symbol "mysql_format"
(15) : warning 202: number of arguments does not match definition
(15) : error 037: invalid string (possibly non-terminated string)
(15) : error 017: undefined symbol "SELECT"
(15) : fatal error 107: too many error messages on one line

Linia 15:
 

Citat

mysql_format(SQL, string, sizeof(string), "SELECT `Name` FROM `server_accounts` WHERE `Name` = '%e', getName(playerid));

Linia 12:

Citat

public OnPlayerConnect(playerid)

Linia 10:

Citat

new P_DATA[MAX_PLAYERS][pInfo];

Linia 73:

Citat

stock getName(playerid)

..

Link to comment
Share on other sites

  • 0

Am uitat sa-ti zic, R41-3

 

definesti SQL: new MySQL: SQL;

 

MAX_PLAYERS => este definit de pachetul SA:MP

MAX_PLAYER_NAME => este definit de pachetul SA:MP

P_DATA => e de la enum pInfo/pVariable cum ai definit tu in gamemode, poate ai PlayerInfo/PlayerData

stock-ul ti l-am definit in pastebin, mi se pare normal daca tu iei doar partea de mysql

Edited by iSkull
Link to comment
Share on other sites

  • 0
Acum 1 oră, iSkull a spus:

Am uitat sa-ti zic, R41-3

 

definesti SQL: new MySQL: SQL;

 

MAX_PLAYERS => este definit de pachetul SA:MP

MAX_PLAYER_NAME => este definit de pachetul SA:MP

P_DATA => e de la enum pInfo/pVariable cum ai definit tu in gamemode, poate ai PlayerInfo/PlayerData

stock-ul ti l-am definit in pastebin, mi se pare normal daca tu iei doar partea de mysql

Ok ms

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.