Server Spawn Layout
#1

Hi (=
I saw a server (208.43.133.131:8700) and when you where at the class selection you had like 2 black "boxes" (idk the right word in english) on the top of the screen and on the botom.. A bit like this;

###################
###################
O
/\
/\
###################
#######< > Spawn ####

I tried it with textdraws but it didn't worked out well xd

Thanks
Reply
#2

Fix indentation if needed.
Should be what your looking for.
Credits to whoever made it..think it was from a movie server script.
pawn Код:
//Top
new Text:lbt,Text:lbb;
//OnGameModeInit or OnFilterScriptInit
    lbt = TextDrawCreate(-1.000000,2.000000,"---");
    TextDrawUseBox(lbt,1);
    TextDrawBoxColor(lbt,0x000000ff);
    TextDrawTextSize(lbt,640.000000,-69.000000);
    TextDrawAlignment(lbt,0);
    TextDrawBackgroundColor(lbt,0x000000ff);
    TextDrawColor(lbt,0x000000ff);
    TextDrawFont(lbt,3);
    TextDrawLetterSize(lbt,1.000000,12.199999);
    TextDrawSetOutline(lbt,1);
    TextDrawSetProportional(lbt,1);
    TextDrawSetShadow(lbt,1);
   
    lbb = TextDrawCreate(0.000000,337.000000,"---");
    TextDrawUseBox(lbb,1);
    TextDrawBoxColor(lbb,0x000000ff);
    TextDrawTextSize(lbb,638.000000,-60.000000);
    TextDrawAlignment(lbb,0);
    TextDrawBackgroundColor(lbb,0x000000ff);
    TextDrawFont(lbb,3);
    TextDrawLetterSize(lbb,0.899999,15.000000);
    TextDrawColor(lbb,0x000000ff);
    TextDrawSetOutline(lbb,1);
    TextDrawSetProportional(lbb,1);
    TextDrawSetShadow(lbb,1);

//OnPlayerConnect
    TextDrawShowForPlayer(playerid,lbt);
    TextDrawShowForPlayer(playerid,lbb);

//OnPlayerSpawn,after they login or where ever you want to hide it.
    TextDrawHideForPlayer(playerid, lbt);
    TextDrawHideForPlayer(playerid, lbb);
Reply
#3

Quote:
Originally Posted by Killaz/s0nic
Fix indentation if needed.
Should be what your looking for.
Credits to whoever made it..think it was from a movie server script.
pawn Код:
//Top
new Text:lbt,Text:lbb;
//OnGameModeInit or OnFilterScriptInit
    lbt = TextDrawCreate(-1.000000,2.000000,"---");
    TextDrawUseBox(lbt,1);
    TextDrawBoxColor(lbt,0x000000ff);
    TextDrawTextSize(lbt,640.000000,-69.000000);
    TextDrawAlignment(lbt,0);
    TextDrawBackgroundColor(lbt,0x000000ff);
    TextDrawColor(lbt,0x000000ff);
    TextDrawFont(lbt,3);
    TextDrawLetterSize(lbt,1.000000,12.199999);
    TextDrawSetOutline(lbt,1);
    TextDrawSetProportional(lbt,1);
    TextDrawSetShadow(lbt,1);
   
    lbb = TextDrawCreate(0.000000,337.000000,"---");
    TextDrawUseBox(lbb,1);
    TextDrawBoxColor(lbb,0x000000ff);
    TextDrawTextSize(lbb,638.000000,-60.000000);
    TextDrawAlignment(lbb,0);
    TextDrawBackgroundColor(lbb,0x000000ff);
    TextDrawFont(lbb,3);
    TextDrawLetterSize(lbb,0.899999,15.000000);
    TextDrawColor(lbb,0x000000ff);
    TextDrawSetOutline(lbb,1);
    TextDrawSetProportional(lbb,1);
    TextDrawSetShadow(lbb,1);

//OnPlayerConnect
    TextDrawShowForPlayer(playerid,lbt);
    TextDrawShowForPlayer(playerid,lbb);

//OnPlayerSpawn,after they login or where ever you want to hide it.
    TextDrawHideForPlayer(playerid, lbt);
    TextDrawHideForPlayer(playerid, lbb);
Thanks, exactly what I was looking for (:
Reply
#4

No problem, glad to help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)