Name tag
#1

I got error dis the command:
Код:
    new str[32], playername[MAX_PLAYER_NAME];  //Put that on OnPlayerConnect
    GetPlayerName(playerid, playername, sizeof(playername));
    format(str,sizeof(str),"%s",playername);
    new Text3D:nametag(str, -1, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Attach3DTextLabelToPlayer(nametag, playerid, 0.0, 0.0, 0.7);
Heres the errors:
Код:
error 001: expected token: ";", but found "("
warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
Name tag - by DerickClark - 02.03.2013, 05:48
Re: Name tag - by Height - 02.03.2013, 05:55
Re: Not showing colors Name tag - by DerickClark - 02.03.2013, 05:57

Forum Jump:


Users browsing this thread: 2 Guest(s)