Man man man die heutigen scripter können ja nichts o0
//hier >.< versuch næchstes mal dein eigenes zu machen
if(strcmp(cmd,"/showmarke",true)==0)
{
if(IsPlayerConnected(playerid))
{
if(gTeam[playerid] == 2 || IsACop(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /showmarke [id]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if (ProxDetectorS(8.0, playerid, giveplayerid))
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "*Dienstmarke*");
SendClientMessage(giveplayerid, COLOR_GREEN, string);
format(string, sizeof(string), "Name: %s.",sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "Rang: %d.",PlayerInfo[playerid][pRank]);
SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "Job: Polizist.");
SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "|***DIENSTMARKE***|");
SendClientMessage(giveplayerid, COLOR_GREEN, string);
format(string, sizeof(string), "* Sie haben ihre Dienstmarke %s gezeigt", giveplayer);
SendClientMessage(playerid, COLOR_RED, string);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Dieser Spieler ist nicht in deiner nähe!");
return 1;
}
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Dieser Spieler ist Offline !");
return 1;
}
}
}
return 1;
}