E:\New folder\New folder\pawno\include\SSGANG\Core\Gangs\GangData.pwn(32) : error 018: initialization data exceeds declared size
E:\New folder\New folder\pawno\include\SSGANG\Database\SQLite\Commands\DBGangcmds.pwn(122) : error 035: argument type mismatch (argument 1)
E:\New folder\New folder\pawno\include\SSGANG\Database\SQLite\Commands\DBGangcmds.pwn(146) : error 035: argument type mismatch (argument 1)
E:\New folder\New folder\pawno\include\SSGANG\Database\SQLite\Commands\DBGangcmds.pwn(261) : error 035: argument type mismatch (argument 1)
if(sscanf(params,"u",giveid)) return SendClientMessage(playerid,-1,""RED"Error:"GREY"/demote playerid");
if(sscanf(params,"u",giveid)) return SendClientMessage(playerid,-1,""RED"Error:"GREY"/setleader playerid");
if(sscanf(params,"u",giveid))
return SendClientMessage(playerid,-1,""RED"ERROR:"GREY"/gkick playerid");
new
GInfo[MAX_PLAYERS][G_USER_DATA],
Iterator:WarArenas<MAX_GANG_WARS>,
bool:ActiveWar[MAX_GANG_WARS];
#define COL_RED "{FF002B}"
#define COL_RED "{FF002B}"
#define COL_BROWN "{6B3F34}"
if(sscanf(params,"u",giveid)) return SendClientMessage(playerid, -1,""COL_RED"Error:"COL_BROWN"/demote playerid");
E:\New folder\New folder\pawno\include\SSGANG\Core\Gangs\GangData.pwn(32) : error 018: initialization data exceeds declared size
For the sscanf, make sure that you're defining the colors like this.
PHP код:
For example: PHP код:
Код:
E:\New folder\New folder\pawno\include\SSGANG\Core\Gangs\GangData.pwn(32) : error 018: initialization data exceeds declared size |
new
GInfo[MAX_PLAYERS][G_USER_DATA],
Iterator:WarArenas<MAX_GANG_WARS>,
bool:ActiveWar[MAX_GANG_WARS];
For the sscanf, make sure that you're defining the colors like this.
|
#define COL_RED "{FF002B}"
#define COL_RED "{FF002B}"
#define COL_BROWN "{6B3F34}"
if(sscanf(params,"u",giveid)) return SendClientMessage(playerid, -1,""COL_RED"Error:"COL_BROWN"/demote playerid");
E:\New folder\New folder\pawno\include\SSGANG\Core\Gangs\GangData.pwn(32) : error 018: initialization data exceeds declared size
E:\New folder\New folder\pawno\include\SSGANG\Database\SQLite\Commands\DBGangcmds.pwn(122) : error 035: argument type mismatch (argument 1)
E:\New folder\New folder\pawno\include\SSGANG\Database\SQLite\Commands\DBGangcmds.pwn(146) : error 035: argument type mismatch (argument 1)
E:\New folder\New folder\pawno\include\SSGANG\Database\SQLite\Commands\DBGangcmds.pwn(261) : error 035: argument type mismatch (argument 1)
E:\New folder\New folder\pawno\include\SSGANG\Core\Gangs\GCmds.pwn(51) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
E:\New folder\New folder\pawno\include\SSGANG\Core\Gangs\GangData.pwn(32) : error 018: initialization data exceeds declared size
new GInfo[MAX_PLAYERS][G_USER_DATA], Iterator:WarArenas<MAX_GANG_WARS>, bool:ActiveWar[MAX_GANG_WARS];
With this error.
Код:
E:\New folder\New folder\pawno\include\SSGANG\Core\Gangs\GangData.pwn(32) : error 018: initialization data exceeds declared size Код:
new GInfo[MAX_PLAYERS][G_USER_DATA], Iterator:WarArenas<MAX_GANG_WARS>, bool:ActiveWar[MAX_GANG_WARS]; |
Iterator:WarArenas<MAX_GANG_WARS>,
[code]E:\New folder\New folder\pawno\include\SSGANG\Core\Gangs\GangData.pwn(32) : error 018: initialization data exceeds declared size[/code]
E:\New folder\New folder\pawno\include\SSGANG\Database\SQLite\Commands\DBGangcmds.pwn(122) : error 035: argument type mismatch (argument 1)
if(sscanf(params,"u",giveid)) return SendClientMessage(playerid,-1,""RED"Error:"GREY"/setleader playerid");
E:\New folder\New folder\pawno\include\SSGANG\Database\SQLite\Commands\DBGangcmds.pwn(146) : error 035: argument type mismatch (argument 1)
if(sscanf(params,"u",giveid)) return SendClientMessage(playerid,-1,""CD_RED"Error:"GREY"/demote playerid");
E:\New folder\New folder\pawno\include\SSGANG\Database\SQLite\Commands\DBGangcmds.pwn(261) : error 035: argument type mismatch (argument 1)
if(sscanf(params,"u",giveid))
return SendClientMessage(playerid,-1,""RED"ERROR:"GREY"/gkick playerid");
E:\New folder\New folder\pawno\include\SSGANG\Core\Gangs\GCmds.pwn(51) : error 035: argument type mismatch (argument 1)
if(sscanf(params,"u",giveid)) return SendClientMessage(playerid,-1,""RED"Error:"GREY"/ginvite playerid");