C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(9053) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(17585) : error 025: function heading differs from prototype C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(28735) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(40965) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
public PlayerFixRadio(playerid)
{
if(IsPlayerConnected(playerid))
{
SetTimer("PlayerFixRadio2", 1000, 0);
PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
Fixr[playerid] = 1;
}
}
public PlayerFixRadio2()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Fixr[i])
{
PlayerPlaySound(i, 1069, 0.0, 0.0, 0.0);
Fixr[i] = 0;
}
}
}
}
public PlayerFixRadio(playerid)
{
if(IsPlayerConnected(playerid))
{
SetTimer("PlayerFixRadio2", 1000, 0);
PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
Fixr[playerid] = 1;
}
return true;
}
public PlayerFixRadio2()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Fixr[i])
{
PlayerPlaySound(i, 1069, 0.0, 0.0, 0.0);
Fixr[i] = 0;
}
}
}
return true;
}
|
pawn Код:
|
C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(9053) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(17585) : error 025: function heading differs from prototype C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(28737) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(40967) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
public PlayerFixRadio(playerid)// essa daki foi amls !!
{
if(IsPlayerConnected(playerid))
{
SetTimer("PlayerFixRadio2", 1000, 0);
PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
Fixr[playerid] = 1;
}
return true;
}
public PlayerFixRadio2()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Fixr[i])
{
PlayerPlaySound(i, 1069, 0.0, 0.0, 0.0);
Fixr[i] = 0;
}
}
}
return true;
}
forward PlayerFixRadio(playerid);
public PlayerFixRadio(playerid)// essa daki foi amls !!
{
if(IsPlayerConnected(playerid))
{
SetTimer("PlayerFixRadio2", 1000, 0);
PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
Fixr[playerid] = 1;
}
return true;
}
forward PlayerFixRadio2();
public PlayerFixRadio2()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Fixr[i])
{
PlayerPlaySound(i, 1069, 0.0, 0.0, 0.0);
Fixr[i] = 0;
}
}
}
return true;
}
|
pawn Код:
|
C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(9053) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(17585) : error 025: function heading differs from prototype C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(17586) : error 025: function heading differs from prototype C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(28738) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrador\Meus documentos\samp03dsvr_R2_win32\gamemodes\backup\BPS.pwn(40968) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
|
pawn Код:
|
PlayerFixRadio(playerid)
|
Se fosse falta de forward,daria outro erro. Creio!
@Topic Poste as 10 linhas a cima de : pawn Код:
|
no comeзo do gm
forward PlayerPlayMusic(playerid);
forward StopMusic();
forward PlayerFixRadio();
forward PlayerFixRadio2();
public PlayerPlayMusic(playerid)// so da erro nisso aki !!!
{
if(IsPlayerConnected(playerid))
{
SetTimer("StopMusic", 5000, 0);
PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
}
}
public StopMusic()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
PlayerPlaySound(i, 1069, 0.0, 0.0, 0.0);
}
}
}
public PlayerFixRadio(playerid)// essa daki foi amls !!
{
if(IsPlayerConnected(playerid))
{
SetTimer("PlayerFixRadio2", 1000, 0);
PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
Fixr[playerid] = 1;
}
return true;
}
forward PlayerFixRadio2();
public PlayerFixRadio2()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Fixr[i])
{
PlayerPlaySound(i, 1069, 0.0, 0.0, 0.0);
Fixr[i] = 0;
}
}
}
return true;
}
|
pawn Код:
|
} { ) ( , ;