24.01.2012, 20:07
Eu coloquei um sistema de HELPER & ADM editei e ta com esse erros
Os Erros sгo apartir dessa linha
Linha 1712
pawn Код:
C:\Users\Famнlia Vilen\Downloads\SAMP\samp03dsvr_R2_win32 (1)\gamemodes\GangWarBr.pwn(1712) : warning: 203: symbol is never used: "string"
C:\Users\Famнlia Vilen\Downloads\SAMP\samp03dsvr_R2_win32 (1)\gamemodes\GangWarBr.pwn(1712) : error: 025: function heading differs from prototype
C:\Users\Famнlia Vilen\Downloads\SAMP\samp03dsvr_R2_win32 (1)\gamemodes\GangWarBr.pwn(1712) : error: 025: function heading differs from prototype
pawn Код:
strtok(const string[], & index)
{
new length = strlen(CELULAS);
while ((index < length) && (CELULAS[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (CELULAS[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = CELULAS[index];
index++;
}
result[index - offset] = EOS;
return result;
}
public SendMessageToAdmins(color,const string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if (LevelInfo[i][Admin] >= 1)
{
SendClientMessage(i, color, CELULAS);
}
}
return 1;
}
public SendMessageToHelper(color,const string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if (LevelInfo[i][Helper] >= 1)
{
SendClientMessage(i, color, CELULAS);
}
}
return 1;
}
pawn Код:
public SendMessageToHelper(color,const string[])