14.06.2012, 13:42
Hi,
After this command we are invisble on the icon map but If I kill the player if he comes back near to me, we see the icon on the map, it's a bug? How to resolve that? Thanks.
Код:
if(strcmp(cmd, "/invisible", true) == 0) { for(new i=0; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { SetPlayerMarkerForPlayer( playerid, i, ( GetPlayerColor( i ) & 0xFFFFFF00 ) ); SetPlayerMarkerForPlayer( i, playerid, ( GetPlayerColor( playerid ) & 0xFFFFFF00 ) ); } } return 1; }