[FilterScript] Text Draw's Divulgador e Que Mostra Ping
#7

pawn Код:
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 498.398, 100.799, "Score - -=-");
    PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
    PlayerTextDrawColor(playerid, Textdraw0[playerid], -7601921);
    PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Textdraw0[playerid], 51);
    PlayerTextDrawFont(playerid, Textdraw0[playerid], 3);
    PlayerTextDrawSetProportional(playerid, Textdraw0[playerid], 1);
    PlayerTextDrawShow(playerid, Textdraw0[playerid]);
    Textdraw1[playerid] = CreatePlayerTextDraw(playerid, 497.600, 120.212, "Ping - -=- ms");
    PlayerTextDrawAlignment(playerid, Textdraw1[playerid], 1);
    PlayerTextDrawColor(playerid, Textdraw1[playerid], -1);
    PlayerTextDrawSetOutline(playerid, Textdraw1[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Textdraw1[playerid], 51);
    PlayerTextDrawFont(playerid, Textdraw1[playerid], 3);
    PlayerTextDrawSetProportional(playerid, Textdraw1[playerid], 1);
    PlayerTextDrawShow(playerid, Textdraw1[playerid]);
    updatetimer[playerid] = SetTimerEx("update", 1000, true, "d", playerid);

Erros:
Код:
Servidor SA-MP\gamemodes\gmofficial.pwn(131) : error 017: undefined symbol "playerid"
Servidor SA-MP\gamemodes\gmofficial.pwn(131) : warning 213: tag mismatch
Servidor SA-MP\gamemodes\gmofficial.pwn(132) : error 017: undefined symbol "PlayerTextDrawAlignment"
Servidor SA-MP\gamemodes\gmofficial.pwn(133) : error 017: undefined symbol "PlayerTextDrawColor"
Servidor SA-MP\gamemodes\gmofficial.pwn(134) : error 017: undefined symbol "PlayerTextDrawSetOutline"
Servidor SA-MP\gamemodes\gmofficial.pwn(135) : error 017: undefined symbol "PlayerTextDrawBackgroundColor"
Servidor SA-MP\gamemodes\gmofficial.pwn(136) : error 017: undefined symbol "PlayerTextDrawFont"
Servidor SA-MP\gamemodes\gmofficial.pwn(137) : error 017: undefined symbol "PlayerTextDrawSetProportional"
Servidor SA-MP\gamemodes\gmofficial.pwn(138) : error 017: undefined symbol "PlayerTextDrawShow"
Servidor SA-MP\gamemodes\gmofficial.pwn(139) : error 017: undefined symbol "playerid"
Servidor SA-MP\gamemodes\gmofficial.pwn(139) : warning 213: tag mismatch
Servidor SA-MP\gamemodes\gmofficial.pwn(140) : error 017: undefined symbol "PlayerTextDrawAlignment"
Servidor SA-MP\gamemodes\gmofficial.pwn(141) : error 017: undefined symbol "PlayerTextDrawColor"
Servidor SA-MP\gamemodes\gmofficial.pwn(142) : error 017: undefined symbol "PlayerTextDrawSetOutline"
Servidor SA-MP\gamemodes\gmofficial.pwn(143) : error 017: undefined symbol "PlayerTextDrawBackgroundColor"
Servidor SA-MP\gamemodes\gmofficial.pwn(144) : error 017: undefined symbol "PlayerTextDrawFont"
Servidor SA-MP\gamemodes\gmofficial.pwn(145) : error 017: undefined symbol "PlayerTextDrawSetProportional"
Servidor SA-MP\gamemodes\gmofficial.pwn(146) : error 017: undefined symbol "PlayerTextDrawShow"
Servidor SA-MP\gamemodes\gmofficial.pwn(147) : error 017: undefined symbol "playerid"
Servidor SA-MP\gamemodes\gmofficial.pwn(192) : error 017: undefined symbol "PlayerTextDrawSetString"
Servidor SA-MP\gamemodes\gmofficial.pwn(193) : error 017: undefined symbol "PlayerTextDrawSetString"
Servidor SA-MP\gamemodes\gmofficial.pwn(199) : error 017: undefined symbol "PlayerTextDrawDestroy"
Servidor SA-MP\gamemodes\gmofficial.pwn(201) : error 017: undefined symbol "PlayerTextDrawDestroy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


21 Errors.
testando seu code.. como arruma?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)