Guten Tag...
Ich finde einfach nicht, den Kallerfehler hier:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
PlayerPlaySound(issuerid,17802,0.0,0.0,0.0);
PlayerPlaySound(playerid,17802,0.0,0.0,0.0);
if(tdmteamgelb[playerid] == 1)
{
if(issuserid == tdmteamgelb[playerid] == 1)
{
new Float:health;
GetPlayerHealth(playerid,health);
SendClientMessage(playerid,0xADC7E7FF,"Greif keine Leute von deinem Team an!!");
GivePlayerHealth(playerid,health);
}
return 1;
}
if(tdmteamblau[playerid] == 1)
{
if(issuserid == tdmteamblau[playerid] == 1)
{
new Float:health;
GetPlayerHealth(playerid,health);
SendClientMessage(playerid,0xADC7E7FF,"Greif keine Leute von deinem Team an!!");
// SendMessageToAllAdmins
GivePlayerHealth(playerid,health);
}
return 1;
}
return 1;
}
Ist er drinnen ?