Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Help Errors

$
0
0
Errors
Code:

GM.pwn(6198) : error 017: undefined symbol "i"
GM.pwn(6198) : error 029: invalid expression, assumed zero
GM.pwn(6198) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

line(6198)
Code:

        SafeZone[i] = TextDrawCreate(55.000000, 324.000000, "~r~ANTI- ~w~DM");
full code
Code:

        SafeZone[i] = TextDrawCreate(55.000000, 324.000000, "~r~ANTI- ~w~DM");
        TextDrawBackgroundColor(SafeZone[i], 255);
        TextDrawFont(SafeZone[i], 3);
        TextDrawLetterSize(SafeZone[i], 0.400000, 1.000000);
        TextDrawColor(SafeZone[i], 1572749823);
        TextDrawSetOutline(SafeZone[i], 0);
        TextDrawSetProportional(SafeZone[i], 1);
        TextDrawSetShadow(SafeZone[i], 1);
        TextDrawSetSelectable(SafeZone[i], 0);

        TimeLeftWar1[playerid] = CreatePlayerTextDraw(playerid, 501.600036, 221.759963, " ");
        PlayerTextDrawLetterSize(playerid, TimeLeftWar1[playerid], 0.332400, 2.264533);
        PlayerTextDrawAlignment(playerid, TimeLeftWar1[playerid], 1);
        PlayerTextDrawColor(playerid, TimeLeftWar1[playerid], -1);
        PlayerTextDrawSetShadow(playerid, TimeLeftWar1[playerid], 0);
        PlayerTextDrawSetOutline(playerid, TimeLeftWar1[playerid], 1);
        PlayerTextDrawBackgroundColor(playerid, TimeLeftWar1[playerid], 255);
        PlayerTextDrawFont(playerid, TimeLeftWar1[playerid], 2);
        PlayerTextDrawSetProportional(playerid, TimeLeftWar1[playerid], 1);

        Jailtime[playerid] = CreatePlayerTextDraw(playerid, 499.333587, 97.066673, " ");
        PlayerTextDrawLetterSize(playerid, Jailtime[playerid], 0.191331, 1.960886);
        PlayerTextDrawColor(playerid, Jailtime[playerid], -1);
        PlayerTextDrawSetShadow(playerid, Jailtime[playerid], 0);
        PlayerTextDrawBackgroundColor(playerid, Jailtime[playerid], 51);
        PlayerTextDrawSetOutline(playerid, Jailtime[playerid], 1);
        PlayerTextDrawFont(playerid, Jailtime[playerid], 2);
        PlayerTextDrawAlignment(playerid, Jailtime[playerid], 1);


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>