hi kann mir jemand den script zeigen fon
/accept lawyer [playerid (den anwalt] [playerid der im knast sitz]
brauche den script dafon
hi kann mir jemand den script zeigen fon
/accept lawyer [playerid (den anwalt] [playerid der im knast sitz]
brauche den script dafon
else if(strcmp(x_job,"lawyer",true) == 0)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "BENUTZUNG: /accept lawyer [playerid/Name]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (gTeam[playerid] == 2)
{
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if(PlayerInfo[giveplayerid][pJob] == 2)
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Du hast %s erlaubt einen Gefangenen auf dem Knast zu holen.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTBLUE,string);
format(string, sizeof(string), "* Officer %s hat dir erlaubt einen Gefangenen aus dem Knast zu holen. (gib /free) ein", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTBLUE,string);
ApprovedLawyer[giveplayerid] = 1;
return 1;
}
}
}
return 1;
}
Das aus der /accept"