**_**
Компетентный
Вот ошибки которые возникают:
Вот строки:
Мод, RLS, спасибо.
PHP:
C:\Users\Леново\Desktop\Inovation\gamemodes\RolePlay.pwn(26331) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
C:\Users\Леново\Desktop\Inovation\gamemodes\RolePlay.pwn(26334) : error 017: undefined symbol "TextDrawSetPreviewModel"
C:\Users\Леново\Desktop\Inovation\gamemodes\RolePlay.pwn(26335) : error 017: undefined symbol "TextDrawSetPreviewRot"
C:\Users\Леново\Desktop\Inovation\gamemodes\RolePlay.pwn(26339) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
C:\Users\Леново\Desktop\Inovation\gamemodes\RolePlay.pwn(26342) : error 017: undefined symbol "TextDrawSetPreviewModel"
C:\Users\Леново\Desktop\Inovation\gamemodes\RolePlay.pwn(26343) : error 017: undefined symbol "TextDrawSetPreviewRot"
C:\Users\Леново\Desktop\Inovation\gamemodes\RolePlay.pwn(52526) : error 017: undefined symbol "i"
C:\Users\Леново\Desktop\Inovation\gamemodes\RolePlay.pwn(52527) : error 017: undefined symbol "i"
C:\Users\Леново\Desktop\Inovation\gamemodes\RolePlay.pwn(54069) : error 017: undefined symbol "health"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
9 Errors.
PHP:
public AntiBunny(playerid)
{
ApplyAnimation(playerid, "PED", "getup_front",4.0,0,0,0,0,0);
times[playerid] = false;
SetTimerEx("AntiBunnyHop",1000,false, "i",playerid);
52526 > updatehealbar(i);
52527> updateseatybar(i);
return true;
}
PHP:
Textdraw6 = TextDrawCreate(40.000000, 245.000000, "_");
26331> TextDrawFont(Textdraw6, TEXT_DRAW_FONT_MODEL_PREVIEW);
TextDrawUseBox(Textdraw6, 0);
TextDrawTextSize(Textdraw6, 40.0, 40.0);
26334> TextDrawSetPreviewModel(Textdraw6, 1240);
26335> TextDrawSetPreviewRot(Textdraw6, -10.0, 0.0, -20.0, 1.3);
TextDrawBackgroundColor(Textdraw6, 0xFFFFFF00);
Textdraw7 = TextDrawCreate(40.000000, 272.000000, "_");
26339> TextDrawFont(Textdraw7, TEXT_DRAW_FONT_MODEL_PREVIEW);
TextDrawUseBox(Textdraw7, 0);
TextDrawTextSize(Textdraw7, 40.0, 40.0);
26342> TextDrawSetPreviewModel(Textdraw7, 2821);
26343> TextDrawSetPreviewRot(Textdraw7, -10.0, 0.0, -20.0, 1.5);
TextDrawBackgroundColor(Textdraw7, 0xFFFFFF00);
PHP:
stock updateseatybar(playerid)
{
new Float:x;
54069 > x = 83.0 + health*58.0/100;
PlayerTextDrawTextSize(playerid,pHungerText3[playerid], x, 0.000000);
PlayerTextDrawShow(playerid,pHungerText3[playerid]);
}
Последнее редактирование:
