SA-MP Forums Archive
[AJUDA] Erros e Warnings - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [AJUDA] Erros e Warnings (/showthread.php?tid=619937)



[AJUDA] Erros e Warnings - GabrielMT - 23.10.2016

me ajude !

Код:
hook OnPlayerConnect(playerid)
{
   d:3:GLOBAL_DEBUG("[OnPlayerConnect] in /gamemodes/sss/core/char/food.pwn");

   HungerBar[playerid] = CreatePlayerProgressBar(playerid, 548.000000, 36.000000, 62.000000, 3.200000, 536354815, 100.0000, 0);
/*
   HungerBar[playerid] = CreatePlayerProgressBar(playerid, 626.0, 100.0, 10.0, 100.0, -2130771840, 100.0, BAR_DIRECTION_UP);
   HungerBarBackground[playerid]   =CreatePlayerTextDraw(playerid, 612.000000, 101.000000, "_");
   PlayerTextDrawBackgroundColor   (playerid, HungerBarBackground[playerid], 255);
   PlayerTextDrawFont            (playerid, HungerBarBackground[playerid], 1);
   PlayerTextDrawLetterSize      (playerid, HungerBarBackground[playerid], 0.500000, -10.200000);
   PlayerTextDrawColor            (playerid, HungerBarBackground[playerid], -1);
   PlayerTextDrawSetOutline      (playerid, HungerBarBackground[playerid], 0);
   PlayerTextDrawSetProportional   (playerid, HungerBarBackground[playerid], 1);
   PlayerTextDrawSetShadow         (playerid, HungerBarBackground[playerid], 1);
   PlayerTextDrawUseBox         (playerid, HungerBarBackground[playerid], 1);
   PlayerTextDrawBoxColor         (playerid, HungerBarBackground[playerid], 255);
   PlayerTextDrawTextSize         (playerid, HungerBarBackground[playerid], 618.000000, 10.000000);

   HungerBarForeground[playerid]   =CreatePlayerTextDraw(playerid, 613.000000, 100.000000, "_");
   PlayerTextDrawBackgroundColor   (playerid, HungerBarForeground[playerid], 255);
   PlayerTextDrawFont            (playerid, HungerBarForeground[playerid], 1);
   PlayerTextDrawLetterSize      (playerid, HungerBarForeground[playerid], 0.500000, -10.000000);
   PlayerTextDrawColor            (playerid, HungerBarForeground[playerid], -1);
   PlayerTextDrawSetOutline      (playerid, HungerBarForeground[playerid], 0);
   PlayerTextDrawSetProportional   (playerid, HungerBarForeground[playerid], 1);
   PlayerTextDrawSetShadow         (playerid, HungerBarForeground[playerid], 1);
   PlayerTextDrawUseBox         (playerid, HungerBarForeground[playerid], 1);
   PlayerTextDrawBoxColor         (playerid, HungerBarForeground[playerid], -2130771840);
   PlayerTextDrawTextSize         (playerid, HungerBarForeground[playerid], 617.000000, 10.000000);
*/
}
ERROS :
Код:
Script[gamemodes/ScavengeSurvive.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0

e consigo compilar a GM mesmo com esses 2 Warnings

C:\Users\PC\Documents\Scavenge Forever\pawno\include\geolocation.inc(474) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level

sss/core/char/food.pwn(147) : warning 202: number of arguments does not match definition

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Warnings.



Re: [AJUDA] Erros e Warnings - 1fret - 24.10.2016

!st of all try using ****** translator cause most people here speak english i think.

Also show use your last server log and please specify the lines with the errors.