- 0
error 017: undefined symbol "playerid"
-
Similar Content
-
- 3 replies
- 187 views
-
- 1 reply
- 738 views
-
- 2 answers
- 199 views
-
- 0 answers
- 66 views
-
- 1 reply
- 236 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Browse
function:OnQueryFinish(resultid, extraid, ConnectionHandle) { StopAudioStreamForPlayer(extraid); new szRows, szFields, string[32]; if(resultid != THREAD_NO_RESULT) cache_get_data(szRows, szFields); switch(resultid){ case THREAD_CHECK_ACCOUNT: { InterpolateCameraPos(extraid, 1689.3907, -1732.2874, 20.3228, 1062.3051, -1732.3589, 24.6772, 10000, CAMERA_MOVE); InterpolateCameraLookAt(extraid, 1062.3051, -1732.3589, 24.6772, 1062.3051, -1732.3589, 24.6772, 10000, CAMERA_MOVE); if(szRows) { cache_get_field_content(0, "id", szLoad); playerVariables[extraid][pSQLID] = strval(szLoad); cache_get_field_content(0, "password", szCache); format(playerVariables[extraid][ppassword], 129, szCache); //cache_get_field_content(0, "email", szLoad); format(playerVariables[extraid][pemail], 40, szLoad); cache_get_field_content(0, "sex", szLoad); playerVariables[extraid][psex] = strval(szLoad); cache_get_field_content(0, "age", szLoad); playerVariables[extraid][page] = strval(szLoad); clearChat(extraid, 1); SendClientMessage(extraid, -1, "SERVER: {FFFFFF}Welcome."); SendClientMessage(extraid, -1, "SERVER: {FFFFFF}You already have a registered account, please enter your password into the dialog box."); ShowPlayerDialog(extraid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "SERVER: Login", "Welcome!\n\nPlease enter your password below!", "Login", "Cancel"); } else { format(szMessage, -1, "Hello %s. Welcome!", szPlayerName); SendClientMessage(playerid, 0x844185FF, szMessage); //linia 303 SendClientMessage(playerid, -1, "You aren't registered yet. Please enter your desired password in the dialog box to register."); //linia 304 format(string,sizeof(string),"{844185}Hello %s./n/{FFFFFF}Please enter your desired password below!", GetName(playerid)); //linia 305 ShowPlayerDialog(playerid, DIALOG_REGISTER,DIALOG_STYLE_PASSWORD,"SERVER: Registration", string, "Register", "Cancel"); // linia 306 } } } return 1; }
C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(303) : error 017: undefined symbol "playerid"
C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(304) : error 017: undefined symbol "playerid"
C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(305) : error 017: undefined symbol "playerid"
C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(306) : error 017: undefined symbol "playerid"
Am incercat sa inlocuiesc playerid cu i, imi da aceasi eroare numai ca da undefined symbol "i"
Edited by BrowseLink to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.