31.10.2012, 18:06
// Since we want to allow the spawn and default registration information to be handled via the database..
// .. we have to grab the information using a query.
format(szFormulateQuery, sizeof(szFormulateQuery), "SELECT * FROM players WHERE ID = %d", playerVariables[extraid][pDBID]);
IT SAYS THIS LINE IS WRONG: mysql_query(szFormulateQuery, THREAD_REGISTER_SPAWN, extraid, iConnectionHandle);
}
Whats wrong? Uhm.
Errors:
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : error 029: invalid expression, assumed zero
C:\Users\\gamemodes\basic-script.pwn(21 : warning 215: expression has no effect
C:\Users\\gamemodes\basic-script.pwn(21 : error 029: invalid expression, assumed zero
C:\Users\\gamemodes\basic-script.pwn(21 : warning 215: expression has no effect
C:\Users\\gamemodes\basic-script.pwn(21 : error 029: invalid expression, assumed zero
C:\Users\\gamemodes\basic-script.pwn(21 : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
// .. we have to grab the information using a query.
format(szFormulateQuery, sizeof(szFormulateQuery), "SELECT * FROM players WHERE ID = %d", playerVariables[extraid][pDBID]);
IT SAYS THIS LINE IS WRONG: mysql_query(szFormulateQuery, THREAD_REGISTER_SPAWN, extraid, iConnectionHandle);
}
Whats wrong? Uhm.
Errors:
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\\gamemodes\basic-script.pwn(21 : error 029: invalid expression, assumed zero
C:\Users\\gamemodes\basic-script.pwn(21 : warning 215: expression has no effect
C:\Users\\gamemodes\basic-script.pwn(21 : error 029: invalid expression, assumed zero
C:\Users\\gamemodes\basic-script.pwn(21 : warning 215: expression has no effect
C:\Users\\gamemodes\basic-script.pwn(21 : error 029: invalid expression, assumed zero
C:\Users\\gamemodes\basic-script.pwn(21 : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.