GameTextForPlayer error.
#1

Anyone know how to fix this?

C:\Users\Jake\Desktop\LSCRP\LARP\gamemodes\larp.pw n(43144) : error 037: invalid string (possibly non-terminated string)
C:\Users\Jake\Desktop\LSCRP\LARP\gamemodes\larp.pw n(43144) : error 017: undefined symbol "w"
C:\Users\Jake\Desktop\LSCRP\LARP\gamemodes\larp.pw n(43144) : error 017: undefined symbol "Los"
C:\Users\Jake\Desktop\LSCRP\LARP\gamemodes\larp.pw n(43144) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.


pawn Код:
SetPlayerVirtualWorld(playerid, 0);
        PlayerInfo[playerid][pVirWorld] = 0;
        GameTextForPlayer(playerid, "~w~Los Santos
        "
, 5000, 1);
        SetPlayerInterior(playerid, 0);
        SetPlayerPos(playerid,454.5949,-1500.6449,30.8821);
        OnPlayerExitFood(playerid); // ?
        PlayerInfo[playerid][pInt] = 0;
    }
Reply
#2

Change

pawn Код:
GameTextForPlayer(playerid, "~w~Los Santos
        "
, 5000, 1);
To

pawn Код:
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
Reply
#3

I get this now:

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 8860 bytes
Code size: 1622816 bytes
Data size: 10324240 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5266 cells (21064 bytes)
Total requirements:11972300 bytes
Reply
#4

That's bad.
Read this thread: https://sampforum.blast.hk/showthread.php?tid=57018 and try reduce as much as you can the arrays you use.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)