Hi,
mein command /cp funktioniert nicht, auch wenn ich /cp eingebe bleibt die Variable AccountInfo[i][show] auf 0.
Keine Ahnung warum das nicht geht
if(strcmp(cmd, "/cp", true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
TextDrawShowForPlayer(i, Stats1[i]);
TextDrawShowForPlayer(i, Stats2[i]);
TextDrawShowForPlayer(i, Stats3[i]);
TextDrawShowForPlayer(i, Stats4[i]);
TextDrawShowForPlayer(i, Stats5[i]);
TextDrawShowForPlayer(i, Stats6[i]);
TextDrawShowForPlayer(i, Stats3_1[i]);
TextDrawShowForPlayer(i, Stats3_2[i]);
TextDrawShowForPlayer(i, Stats4_1[i]);
TextDrawShowForPlayer(i, Stats4_2[i]);
TextDrawShowForPlayer(i, Stats5_1[i]);
TextDrawShowForPlayer(i, Stats5_2[i]);
TextDrawShowForPlayer(i, Stats6_1[i]);
TextDrawShowForPlayer(i, Stats6_2[i]);
AccountInfo[i][show] = 1;
if(AccountInfo[i][show] == 1)
{
TextDrawHideForPlayer(i, Stats1[i]);
TextDrawHideForPlayer(i, Stats2[i]);
TextDrawHideForPlayer(i, Stats3[i]);
TextDrawHideForPlayer(i, Stats4[i]);
TextDrawHideForPlayer(i, Stats5[i]);
TextDrawHideForPlayer(i, Stats6[i]);
TextDrawHideForPlayer(i, Stats3_1[i]);
TextDrawHideForPlayer(i, Stats3_2[i]);
TextDrawHideForPlayer(i, Stats4_1[i]);
TextDrawHideForPlayer(i, Stats4_2[i]);
TextDrawHideForPlayer(i, Stats5_1[i]);
TextDrawHideForPlayer(i, Stats5_2[i]);
TextDrawHideForPlayer(i, Stats6_1[i]);
TextDrawHideForPlayer(i, Stats6_2[i]);
AccountInfo[i][show] = 0;
}
}
return 1;
}