Mhm bekomme bei dem Code
dcmd_heal(playerid,params[])
{
if(!strlen(params))
{
return SendClientMessage(playerid,ROT,"/heal ID");
}
if(gTeam[playerid] == medic)
{
new typ=strval(params), Float:leben;
if(GetPlayerHealth(typ,leben))
{
if(GetDistanceBetweenPlayers(playerid,typ <= 10.0)) //1124
{
new Float:diff=(100-floatround(leben))*10;
if(GetPlayerMoney(typ)>=diff)
{
GivePlayerMoney(playerid,diff/100*60); //1129
GivePlayerMoney(typ,-diff); //1130
SetPlayerHealth(typ,100);
}
}
}
}
return 1;
}
Diese Warnings
ZitatAlles anzeigenF:\DOKUME~1\ADMINI~1\Desktop\RL(C)P~1.PWN(1124) : warning 202: number of arguments does not match definition
F:\DOKUME~1\ADMINI~1\Desktop\RL(C)P~1.PWN(1129) : warning 213: tag mismatch
F:\DOKUME~1\ADMINI~1\Desktop\RL(C)P~1.PWN(1130) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.