#1

Why the textdraw wont show me?

Code:
pawn Код:
public OnGameModeInit()
{
    new Text:UGF;

    UGF = TextDrawCreate(2.5, 458, "UGF - Unlimited GTA Freeroam Commands: /c /v /w /t");
    TextDrawFont(UGF, 3);
    TextDrawLetterSize(UGF, 0.8, 40.0);
    TextDrawColor(UGF, 0xF5F5F5FF);
    TextDrawSetOutline(UGF, 555);
    TextDrawSetProportional(UGF, true);
    TextDrawSetShadow(UGF, 2);



    UsePlayerPedAnims();
    SetGameModeText("Freeroam~Race~Stunt~DM");
    AddPlayerClass(0,1991.2999,-2253.3188,61.4168,299.5154,0,0,0,0,0,0); //
    ShowPlayerMarkers(1);
    ShowNameTags(1);
    EnableStuntBonusForAll(1);
    Create3DTextLabel("Los Venturas Airport", 0x00FF0AFF, 1614.5313, 1164.2230, 14.2188, 40.0, 0, 0);
    Create3DTextLabel("Los Santos Airport", 0x00FF0AFF, 1925.7968, -2248.3071, 16.4399, 40.0, 0, 0);   ...
Reply
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, UGF);
    return 1;
}
Reply
#3

TextDrawShowForPlayer/All.
Reply
#4

still nothing and MP2 this
Код:
TextDrawShowForPlayer/All
doesnt work
Reply
#5

pawn Код:
#include <a_samp>

new Text:UGF; // Top of your script

public OnGameModeInit()
{
    UGF = TextDrawCreate(2.5, 458, "UGF - Unlimited GTA Freeroam Commands: /c /v /w /t");
    TextDrawFont(UGF, 3);
    TextDrawLetterSize(UGF, 0.8, 40.0);
    TextDrawColor(UGF, 0xF5F5F5FF);
    TextDrawSetOutline(UGF, 555);
    TextDrawSetProportional(UGF, true);
    TextDrawSetShadow(UGF, 2);
    return 1;
}


public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid,UGF); // Show the UGF Textdraw
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)