11.08.2016, 13:12
(
Последний раз редактировалось RedBlack; 12.08.2016 в 00:02.
)
Salut am vazut ca unele servere de RPG au textdraw-urile acelea unde scriu (numele player-ului)/(numele server-ului), uitati un exemplu:
Am facut un textdraw in iPLEOMAX's Textdraw %s_ ca sa vada doar un player apoi am luat asta:
si l-am bagat in GM-ul meu dar nu merge imi da aceasta eroare:
Ce sa fac? ajutati-ma va rog
Код:
%s_/_Numele.Server-ului
Код:
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 509.751159, 424.666687, "%s_"); PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.449999, 1.600000); PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1); PlayerTextDrawColor(playerid, Textdraw0[playerid], -1); PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0); PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Textdraw0[playerid], 51); PlayerTextDrawFont(playerid, Textdraw0[playerid], 1); PlayerTextDrawSetProportional(playerid, Textdraw0[playerid], 1);
Код:
D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1034) : error 017: undefined symbol "playerid" D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1035) : error 017: undefined symbol "playerid" D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1036) : error 017: undefined symbol "playerid" D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1037) : error 017: undefined symbol "playerid" D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1038) : error 017: undefined symbol "playerid" D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1039) : error 017: undefined symbol "playerid" D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1040) : error 017: undefined symbol "playerid" D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1041) : error 017: undefined symbol "playerid" D:\Albert\Romania Stunt Revolution - RedBlack\gamemodes\mygm.pwn(1042) : error 017: undefined symbol "playerid"