[AJUDA] Erros e Warnings
#1

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.
Reply
#2

!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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)