SA-MP Forums Archive
Help me Please +REP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me Please +REP (/showthread.php?tid=511372)



Help me Please +REP - Salman1700 - 05.05.2014

How to Remove this picture


Re: Help me Please +REP - Rockyyy - 05.05.2014

post your onplayerconnect code


Re: Help me Please +REP - Salman1700 - 05.05.2014

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;
    	}



Re: Help me Please +REP - StrangeLove - 05.05.2014

Remove the textdrawshowforplayer line


Re: Help me Please +REP - Eth - 05.05.2014

delete the TextDrawShowForPlayer(playerid,Welcometext);


Re: Help me Please +REP - SAMProductions - 05.05.2014

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;
        }



Re: Help me Please +REP - Salman1700 - 05.05.2014

its till here i deleted


Re: Help me Please +REP - SAMProductions - 05.05.2014

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


Re: Help me Please +REP - Salman1700 - 05.05.2014

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;



Re: Help me Please +REP - SAMProductions - 05.05.2014

Well that's TextDrawHideForAll, and TextDrawDestroy :3

Show the TextDrawShowForPlayer.