[Ajuda] ajuda /localizar
#1

como que eu faзo esse comando para qnd a pessoa da /localizar aparecer no mapa qnd da esc a area q ele estб piscando por uns 10seg por ai mais n o pontinho vermelho. й pra piscar a area q ele estб. eu ja tentei de todo geito mais n consigo.

Код:
	if(strcmp(cmd, "/localizar", true) == 0)
    {
		if(!IsACop(playerid))
		{
			SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й Policial !");
			return 1;
		}
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
		{
  			SendClientMessage(playerid, COLOR_WHITE, "USE: /localizar [id]");
		    return 1;
		}
		new Nome[MAX_PLAYER_NAME];
		giveplayerid = ReturnUser(tmp);
		GetPlayerName(giveplayerid, Nome, sizeof(Nome));
		new location[MAX_ZONE_NAME];
		GetPlayer2DZone(giveplayerid, location, MAX_ZONE_NAME);
        format(string, sizeof(string), "%s foi visto perto de %s", Nome,location);
		SendClientMessage(playerid, COLOR_YELLOW, string);
		return 1;
	}
Reply
#2

alguem ajuda
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)