habe ich
C:\Users\EliteBread\Desktop\Spiele usw\Andere Programme\Daten\Selfmade Script\gamemodes\Bread.pwn(1342) : warning 213: tag mismatch
C:\Users\EliteBread\Desktop\Spiele usw\Andere Programme\Daten\Selfmade Script\gamemodes\Bread.pwn(1363) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
dcmd_cuff(playerid,params[])
{
if(PlayerInfo[playerid][Beruf] >= 9 && PlayerInfo[playerid][Beruf] != 16)
if(PlayerInfo[playerid][Duty] == 1) return SendClientMessage(playerid,Rot,"Du bist nicht im Dienst");
{
if(!IsAGangCar(GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, Rot,"Du bist in keinem Auto");
{
new pID, hname[MAX_PLAYER_NAME];
new string[128];
if(sscanf(params,"i",pID)) return SendClientMessage(playerid,Gelb,"Benutze: /cuff [playerid]");
GetPlayerName(playerid,hname,sizeof(hname));
format(string,sizeof(string),"Du hast %s die Handschellen angelegt!",hname);
SendClientMessage(playerid,Grün,string);
format(string,sizeof(string),"Dir wurden von %s Handschellen angelegt",hname);
SendClientMessage(pID,Rot,string);
TogglePlayerControllable(pID,0);
}
}
return 1;
}
dcmd_uncuff(playerid,params[])
{
if(PlayerInfo[playerid][Beruf] <= 3 && PlayerInfo[playerid][Beruf] != 0)
if(PlayerInfo[playerid][Duty] == 1) return SendClientMessage(playerid,Rot,"Du bist nicht im Dienst");
{
if(!IsAGangCar(GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, Rot,"Du bist in keinem Auto");
{
new pID, hname[MAX_PLAYER_NAME];
new string[128];
if(sscanf(params,"i",pID)) return SendClientMessage(playerid,Gelb,"Benutze: /uncuff [playerid]");
GetPlayerName(playerid,hname,sizeof(hname));
format(string,sizeof(string),"Du hast %s die Handschellen abgenommen!",hname);
SendClientMessage(playerid,Rot,string);
format(string,sizeof(string),"Dir wurden von %s die Handschellen abgemacht",hname);
SendClientMessage(pID,Rot,string);
TogglePlayerControllable(pID,1);
}
}
return 1;
}