Gamemode Error
#1

Hi, I get this when i try to complie my gamemode
C:\Users\\Desktop\Script\gamemodes\new.pwn(795) : error 035: argument type mismatch (argument 1)
C:\Users\\Desktop\Script\gamemodes\new.pwn(795) : error 029: invalid expression, assumed zero
C:\Users\\Desktop\Script\gamemodes\new.pwn(795) : warning 215: expression has no effect
C:\Users\\Desktop\Script\gamemodes\new.pwn(795) : error 001: expected token: ";", but found "-string-"
C:\Users\\Desktop\Script\gamemodes\new.pwn(795) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

Show us lines 790 to 800, please.
Reply
#3

main(){}

public OnGameModeInit()
{
mysql_debug(0);
mysql_connect(mysql_host,mysql_user,mysql_database ,mysql_password);
LoadObjects();
LoadOwnedVehicles();
LoadVehicles();
LoadHouses();
SetTimer("StripUpdate", UpdateTime, true);
Reply
#4

FRom this line?
pawn Код:
mysql_connect(mysql_host,mysql_user,mysql_database ,mysql_password);
Make sure the rest you've defined are correct. Let's say
pawn Код:
#define mysql_password "Oops_I_Forgot_To_Close_This!
it's missing the last ", make sure they are all correct.
Reply
#5

Make sure you defined all values
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)