What is wrong with this script => (problems with Attach3DTextLabelToPlayer)?
#4

I make this now

pawn Код:
forward Text(playerid);
public Text(playerid)
{
  if(IsPlayerNPC(playerid))
  {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname));
    if(!strcmp(npcname, "YUGO", true))
    {

            new text;
      text = Create3DTextLabel("Jaz sem YUGO",GetPlayerColor(playerid),30.0,40.0,50.0,40.0,0);
      new Float:x, Float:y, Float:z, string[256];
      GetPlayerPos(playerid, x, y, z);

            new a, b, c;
        a = format(string, sizeof(string), "%s",x);
        b = format(string, sizeof(string), "%s",y);
        c = format(string, sizeof(string), "%s",z);
     
      Attach3DTextLabelToPlayer(text, playerid, a,b,c);
    }
    }
}
it says:
Код:
C:\Documents and Settings\Anћe Miklavčič\Desktop\sa mp server\filterscripts\NPC.pwn(59) : warning 213: tag mismatch
C:\Documents and Settings\Anћe Miklavčič\Desktop\sa mp server\filterscripts\NPC.pwn(68) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)