Como poner solo adminstrador
#1

Hola amigos bueno vi que esto quedaria bonito en el servidor pero bueno solo quiero que le aparesca el texdrawn a solo la administracion no a los user normales aver si alguien me puede ayudar!
Код HTML:
////Newґs//////
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
//Timer.
new ELTIMER;

public OnGameModeInit(){


Textdraw0 = TextDrawCreate(205.999969, 244.166519, "usebox");
TextDrawLetterSize(Textdraw0, 0.000000, 5.683330);
TextDrawTextSize(Textdraw0, -7.599998, 0.000000);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, 0);
TextDrawUseBox(Textdraw0, true);
TextDrawBoxColor(Textdraw0, 102);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 0);
TextDrawFont(Textdraw0, 0);

Textdraw1 = TextDrawCreate(59.999969, 247.893234, "New Textdraw");
TextDrawLetterSize(Textdraw1, 0.349200, 2.100265);
TextDrawAlignment(Textdraw1, 1);
TextDrawColor(Textdraw1, -1);
TextDrawSetShadow(Textdraw1, 0);
TextDrawSetOutline(Textdraw1, 1);
TextDrawBackgroundColor(Textdraw1, 51);
TextDrawFont(Textdraw1, 3);
TextDrawSetProportional(Textdraw1, 1);

Textdraw2 = TextDrawCreate(55.199977, 278.506500, "~>~Se a ~g~conectado");
TextDrawLetterSize(Textdraw2, 0.321197, 1.226665);
TextDrawAlignment(Textdraw2, 1);
TextDrawColor(Textdraw2, -1);
TextDrawSetShadow(Textdraw2, 0);
TextDrawSetOutline(Textdraw2, 1);
TextDrawBackgroundColor(Textdraw2, 51);
TextDrawFont(Textdraw2, 2);
TextDrawSetProportional(Textdraw2, 1);

Textdraw3 = TextDrawCreate(2.399998, 247.146606, " textdraw ");
TextDrawBackgroundColor(Textdraw3, 0);
TextDrawFont(Textdraw3, 5);
TextDrawLetterSize(Textdraw3,0.398999, 1.587999);
TextDrawColor(Textdraw3, -1);
TextDrawSetOutline(Textdraw3, 0);
TextDrawSetProportional(Textdraw3, 1);
TextDrawTextSize(Textdraw3, 47.200000, 53.760009);

return 1;
}

public OnPlayerRequestSpawn(playerid)
{
KillTimer(ELTIMER);

TextDrawSetPreviewModel(Textdraw3, GetPlayerSkin(playerid));

TextDrawShowForAll( Textdraw0 );
TextDrawShowForAll( Textdraw1 );
TextDrawShowForAll( Textdraw2 );
TextDrawShowForAll( Textdraw3 );

new Nombre[MAX_PLAYER_NAME],string[25];
GetPlayerName(playerid,Nombre,sizeof(Nombre));
format(string,sizeof(string),"%s",Nombre);
TextDrawSetString(Textdraw1,string);

ELTIMER = SetTimer("TIMEFIX",5000,true);
return 1;
}

forward TIMEFIX(playerid);
public TIMEFIX(playerid)
{
TextDrawHideForAll( Textdraw0 );
TextDrawHideForAll( Textdraw1 );
TextDrawHideForAll( Textdraw2 );
TextDrawHideForAll( Textdraw3 );
return 1;
}
Reply


Messages In This Thread
Como poner solo adminstrador - by Pandz - 25.06.2017, 04:11
Respuesta: Como poner solo adminstrador - by Romero837 - 25.06.2017, 04:20
Respuesta: Como poner solo adminstrador - by Pandz - 25.06.2017, 04:40
Respuesta: Como poner solo adminstrador - by Romero837 - 25.06.2017, 04:51
Respuesta: Como poner solo adminstrador - by Romero837 - 25.06.2017, 04:54
Re: Como poner solo adminstrador - by Gamerd - 25.06.2017, 05:05
Re: Como poner solo adminstrador - by El Bardo - 25.06.2017, 06:20
Respuesta: Como poner solo adminstrador - by Pandz - 25.06.2017, 15:23
Respuesta: Como poner solo adminstrador - by Pandz - 25.06.2017, 16:12
Respuesta: Como poner solo adminstrador - by Romero837 - 25.06.2017, 16:17

Forum Jump:


Users browsing this thread: 3 Guest(s)