29.12.2011, 05:56
I have a problem to hitman agency.When i make me undercover it not dissapear me from the minimap.What is the solution?This is my command:
Код:
else if ((strcmp("Undercover", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("Undercover"))) { if(under[playerid] == 0) { SendClientMessage(playerid, COLOR_WHITE, "Undercover online."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerMarkerForPlayer( 42, 1, ( GetPlayerColor( 1 ) | 0x000000FF ) ); under[playerid] = 1; } else { SendClientMessage(playerid, COLOR_GRAD1, "Undercover offline."); SetPlayerMarkerForPlayer( 42, 1, ( GetPlayerColor( 1 ) | 0x0000BB00 ) ); SetPlayerToTeamColor(playerid); under[playerid] = 0; } }