Help me Please +REP
#1

How to Remove this picture
Reply
#2

post your onplayerconnect code
Reply
#3

here is
Code:
public OnPlayerConnect(playerid)
{
	SendClientMessage(playerid, COLOR_MESSAGE_YELLOW, "Welcome to UFW Server, Enjoy your stay! ");
    // (the previous player may of changed it)
    TextDrawShowForPlayer(playerid, WelcomeText);
   	for( new slots = GetMaxPlayers( ), i; i < slots; i ++ )
	{
    	if( IsPlayerConnected( i ) && !IsPlayerNPC( i ) )
    	{
        SpeedBoostMultiplier[ i ] = 3.0;
    	}
Reply
#4

Remove the textdrawshowforplayer line
Reply
#5

delete the TextDrawShowForPlayer(playerid,Welcometext);
Reply
#6

Try to remove;
Code:
TextDrawShowForPlayer(playerid, WelcomeText);
Here;
pawn Code:
public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, COLOR_MESSAGE_YELLOW, "Welcome to UFW Server, Enjoy your stay! ");
    // (the previous player may of changed it)
    for( new slots = GetMaxPlayers( ), i; i < slots; i ++ )
    {
        if( IsPlayerConnected( i ) && !IsPlayerNPC( i ) )
        {
        SpeedBoostMultiplier[ i ] = 3.0;
        }
Reply
#7

its till here i deleted
Reply
#8

Well, show the full code inside OnPlayerConnect. or the Textdraws inside it.
Reply
#9

here is full code onplayerconnect
Code:
public OnPlayerConnect(playerid)
{
	SendClientMessage(playerid, COLOR_MESSAGE_YELLOW, "Welcome to UFW Server, Enjoy your stay! ");
    // (the previous player may of changed it)
   	for( new slots = GetMaxPlayers( ), i; i < slots; i ++ )
	{
    	if( IsPlayerConnected( i ) && !IsPlayerNPC( i ) )
    	{
        SpeedBoostMultiplier[ i ] = 3.0;
    	}
	}

text draws code
Code:
TextDrawHideForAll(Capstext);
	TextDrawDestroy(Capstext);
	TextDrawHideForAll(Wtext);
	TextDrawDestroy(Wtext);
	TextDrawHideForAll(cartext);
	TextDrawDestroy(cartext);
 	TextDrawHideForAll(tcartext);
	TextDrawDestroy(tcartext);
	TextDrawHideForAll(fliptext);
	TextDrawDestroy(fliptext);
	TextDrawHideForAll(sptext);
	TextDrawDestroy(sptext);
	TextDrawHideForAll(jumptext);
	TextDrawDestroy(jumptext);
	TextDrawHideForAll(vtext);
	TextDrawDestroy(vtext);
	TextDrawHideForAll(WelcomeText);
	TextDrawDestroy(WelcomeText);
	TextDrawHideForAll(NameText);
	TextDrawDestroy(NameText);
	}
	return 1;
Reply
#10

Well that's TextDrawHideForAll, and TextDrawDestroy :3

Show the TextDrawShowForPlayer.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)