PDA

View Full Version : Errors .-.


BleverCastard
06/04/2012, 02:09 AM
I followed this tutorial:
http://www.*******.com/watch?v=ch-i9dDtvsM&feature=plcp&context=C488ad91VDvjVQa1PpcFN9aq-aO74MHSOld-WyT5xqaI5Sq71AZcg=

And I get these errors:
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(2) : error 031: unknown directive
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(16) : error 017: undefined symbol "mysql_connect"
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(24) : error 017: undefined symbol "mysql_close"
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(41) : error 017: undefined symbol "mysql_query"
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(42) : error 017: undefined symbol "mysql_store_result"
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(43) : error 017: undefined symbol "mysql_num_rows"
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(45) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(45) : error 017: undefined symbol "SERVER_NAME"
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(45) : warning 215: expression has no effect
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(45) : warning 215: expression has no effect
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(45) : warning 215: expression has no effect
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(45) : error 001: expected token: ";", but found ")"
C:\Users\Jordan\Desktop\0.3e Server\gamemodes\Gamemode.pwn(45) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


10 Errors.

Any one?

Ronaldo_raul™
06/04/2012, 02:42 AM
Are you sure you have included the main MySQL include ?

#include <a_mysql>

BleverCastard
06/04/2012, 02:42 AM
Yes.

EDIT:
This is annoying me so much, would someone be able to do it please? 0.3e or 0.3d.

Ronaldo_raul™
06/04/2012, 02:46 AM
Can you show some of the code you changed or added.

BleverCastard
06/04/2012, 02:47 AM
I got rid of it, it pissed me off.