21.12.2011, 23:26
pq aparece esse warning
?
Код:
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
Nъmero de argumentos nгo corresponde а definiзгo.
if(IsPlayerInRangeOfPoint(playerid, 7.0, 0.0, 0.0))
IsPlayerInRangeOfPoint(playerid, Float:range, Float:x, Float:y, Float:z) // 5 Parвmetros
IsPlayerInRangeOfPoint(playerid, Float:range, Float:x, Float:y) // 4 Parвmetros
if(IsPlayerInRangeOfPoint(playerid, 7.0, 0.0, 0.0, 0.0, 0.0))
IsPlayerInRangeOfPoint(playerid, Float:range, Float:x, Float:y, Float:z) // 5 Parвmetros
IsPlayerInRangeOfPoint(playerid, Float:range, Float:x, Float:y, Float:z, Float:Angle) // 6 Parвmetros
new Float:sangue;
if(god[playerid] == 0)
{
god[playerid]++;
sangue = GetPlayerHealth(playerid); //warning aqui!
return 1;
}
else if(god[playerid] > 0)
{
if(sangue == GetPlayerHealth(playerid)) //aqui
new Float:sangue;
GetPlayerHealth(playerid, sangue);
return 1;
pawn Код:
|
new Float:sangue, Float:vida;
if(god[playerid] == 0)
{
god[playerid]++;
GetPlayerHealth(playerid, sangue); //warning aqui!
return 1;
}
else if(god[playerid] > 0)
{
GetPlayerHealth(playerid, vida);
if(sangue == vida) //aqui
GetPlayerHealth(playerid, Float:health);
new Float:sangue;
if(god[playerid] == 0)
{
god[playerid]++;
GetPlayerHealth(playerid, sangue); //warning aqui!
return 1;
}
else if(god[playerid] > 0)
{
static Float:s;
GetPlayerHealth(playerid, s);
if(sangue == s) //aqui