Jump to content

Recommended Posts

Posted (edited)

#include <a_samp>

new PlayerText:PlayerTD[MAX_PLAYERS][1];

public OnFilterScriptInit()
{
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

public OnPlayerConnect(playerid)
{
    PlayerTD[playerid][0] = CreatePlayerTextDraw(playerid, 518.000000, 360.000000, "~y~NAME:_~g~INFERNUS~n~~y~SPEED:_~b~100KM/h~n~~y~HEALTH:_~r~100~n~~y~FUEL:_~w~64L");
    PlayerTextDrawFont(playerid, PlayerTD[playerid][0], 2);
    PlayerTextDrawLetterSize(playerid, PlayerTD[playerid][0], 0.387499, 1.200000);
    PlayerTextDrawTextSize(playerid, PlayerTD[playerid][0], 627.500000, 18.000000);
    PlayerTextDrawSetOutline(playerid, PlayerTD[playerid][0], 1);
    PlayerTextDrawSetShadow(playerid, PlayerTD[playerid][0], 1);
    PlayerTextDrawAlignment(playerid, PlayerTD[playerid][0], 1);
    PlayerTextDrawColor(playerid, PlayerTD[playerid][0], -1);
    PlayerTextDrawBackgroundColor(playerid, PlayerTD[playerid][0], 255);
    PlayerTextDrawBoxColor(playerid, PlayerTD[playerid][0], 100);
    PlayerTextDrawUseBox(playerid, PlayerTD[playerid][0], 0);
    PlayerTextDrawSetProportional(playerid, PlayerTD[playerid][0], 1);
    PlayerTextDrawSetSelectable(playerid, PlayerTD[playerid][0], 0);

    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{

    PlayerTextDrawDestroy(playerid, PlayerTD[playerid][0]);
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/tdtest", true))
    {
        PlayerTextDrawShow(playerid, PlayerTD[playerid][0]);
        return 1;
    }
    return 0;
}


! PROBLEMA E LA HOST NU IN PAWNO, NU DA EROARE LA COMPILARE DA EROARE DOAR CAND IL BAG PE HOST, "UNABLE TO LOAD FILTERSCRIPT..." HELP !

Edited by AlexCelTare
  • Haha 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.