Hallo,
Weiß jemand warum es nichts passiert wenn ich /textdrawsaus InGame eingebe?
if (strcmp("/textdrawsaus", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 2000)
{
TextDrawHideForAll(playerid,Text:Textdraw11);
TextDrawHideForAll(playerid,Text:Textdraw12);
TextDrawHideForAll(playerid,Text:Textdraw13);
TextDrawHideForAll(playerid,Text:Textdraw14);
TextDrawHideForAll(playerid,Text:StatusLeiste1);
TextDrawHideForAll(playerid,Text:StatusLeiste2);
TextDrawHideForAll(playerid,Text:StatusLeiste0);
SendClientMessageToAll(0xD40200FF, "Ein Admin hat alle Textdraws Deaktiviert!");
}
return 1;
}
if (strcmp("/textdrawsan", cmdtext, true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 2000)
{
TextDrawShowForAll(playerid,Text:Textdraw11);
TextDrawShowForAll(playerid,Text:Textdraw12);
TextDrawShowForAll(playerid,Text:Textdraw13);
TextDrawShowForAll(playerid,Text:Textdraw14);
TextDrawShowForAll(playerid,Text:StatusLeiste1);
TextDrawShowForAll(playerid,Text:StatusLeiste2);
TextDrawShowForAll(playerid,Text:StatusLeiste0);
SendClientMessageToAll(0x00C700FF, "Ein Admin hat alle Textdraws Aktiviert!");
}
return 1;
}