put 3D Text Labels overhead to npc
#4

Quote:
Originally Posted by [..MonTaNa..]
Посмотреть сообщение
pawn Код:
public OnPlayerConnect(playerid)
{
    if(IsPlayerNPC(playerid))
    {
        new string[32], NPCName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, NPCName, sizeof NPCName);
        format(string, sizeof string, "%s (%d)", NPCName, playerid);
        TestBotLabel[playerid] = Create3DTextLabel(string, COLOR_WHITE, 0, 0, 0, 40, 0, true);
        Attach3DTextLabelToPlayer(Jenny_Laurent[playerid], playerid, 0, 0, 0.4);
        SetPlayerColor(playerid, COLOR_WHITE);
    }
}
C:\Users\NTVbeleza\Desktop\mESE.pwn(34) : error 017: undefined symbol "TestBotLabel"
C:\Users\NTVbeleza\Desktop\mESE.pwn(34) : warning 215: expression has no effect
C:\Users\NTVbeleza\Desktop\mESE.pwn(34) : error 001: expected token: ";", but found "]"
C:\Users\NTVbeleza\Desktop\mESE.pwn(34) : error 029: invalid expression, assumed zero
C:\Users\NTVbeleza\Desktop\mESE.pwn(34) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
put 3D Text Labels overhead to npc - by NTVbeleza - 03.03.2014, 17:30
Re: put 3D Text Labels overhead to npc - by Nucky - 03.03.2014, 17:52
Re: put 3D Text Labels overhead to npc - by [..MonTaNa..] - 03.03.2014, 18:06
Re: put 3D Text Labels overhead to npc - by NTVbeleza - 03.03.2014, 18:39
Re: put 3D Text Labels overhead to npc - by Nurgle4 - 03.03.2014, 19:11
Re: put 3D Text Labels overhead to npc - by NTVbeleza - 03.03.2014, 19:32
Re: put 3D Text Labels overhead to npc - by [..MonTaNa..] - 03.03.2014, 21:29
Re: put 3D Text Labels overhead to npc - by NTVbeleza - 04.03.2014, 00:51
Re: put 3D Text Labels overhead to npc - by [..MonTaNa..] - 04.03.2014, 00:56
Re: put 3D Text Labels overhead to npc - by NTVbeleza - 04.03.2014, 01:07

Forum Jump:


Users browsing this thread: 2 Guest(s)