04.03.2013, 01:30
Ae eu quero colocar uma imagem de fundo na hora de logar mas tipo antes da pessoa levar spawn a imagem sumir para que quando a pessoa for se registrar ela poder escolher a skin. quem puder passar o codigo pronto agradeзo pois nao entendo quase nada de pawno.
skype:gustavosilva.samp
#include <a_samp>
#if defined FILTERSCRIPT
#endif
new Text:Textdraw0;
public OnGameModeInit()
{
Textdraw0 = TextDrawCreate(0.000000, 1.000000, "loadsc3:loadsc3");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 4);
TextDrawLetterSize(Textdraw0, 0.759999, 1.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 255);
TextDrawTextSize(Textdraw0, 639.000000, 448.000000);
}
/////////////////////////////////////////////////////
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,Textdraw0);
}
////////////////////////////////////////////////////
public OnPlayerRequestClass(playerid, classid)
{
TextDrawHideForPlayer(playerid, Textdraw0);
return 1;
}
skype:gustavosilva.samp
#include <a_samp>
#if defined FILTERSCRIPT
#endif
new Text:Textdraw0;
public OnGameModeInit()
{
Textdraw0 = TextDrawCreate(0.000000, 1.000000, "loadsc3:loadsc3");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 4);
TextDrawLetterSize(Textdraw0, 0.759999, 1.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 255);
TextDrawTextSize(Textdraw0, 639.000000, 448.000000);
}
/////////////////////////////////////////////////////
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,Textdraw0);
}
////////////////////////////////////////////////////
public OnPlayerRequestClass(playerid, classid)
{
TextDrawHideForPlayer(playerid, Textdraw0);
return 1;
}