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.