Jump to content

[Tutorial] Register/Login sistem MySQL R41+


Leonard
 Share

Recommended Posts

EDIT

 

public OnPlayerConnect(playerid{
    new query[100];
    mysql_format(g_Sql, query, sizeof(query), "SELECT * FROM users WHERE Name = '%s LIMIT 1'", GetName(playerid));
    mysql_tquery(g_Sql, query, "OnPlayerLogin", "i", playerid);//se va interoga OnPlayerLogin pentru a ne arata daca are sau nu cont acel player
    return 1;
}

 

daca nu pui limita aia va lua fiecare cont in parte pana ajunge la al lui.

Link to comment
Share on other sites

  • 3 years later...

C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(102) : error 017: undefined symbol "MySQLConnect"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(111) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(143) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(144) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(168) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(169) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(180) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(181) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(192) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(193) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(205) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(206) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(215) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(216) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(222) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(223) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(230) : warning 209: function "OnDialogResponse" should return a value
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(240) : error 017: undefined symbol "cache_get_value_name"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(241) : error 017: undefined symbol "cache_get_value_name"
C:\Users\smech\Desktop\Project\gamemodes\GM.pwn(242) : error 017: undefined symbol "cache_get_value_int"

Edited by Karnita
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...