CallRemoteFunction
#1

Code:
#define FILTERSCRIPT

#include <a_samp>

new Text:Textdraw0;
forward Credit(playerid,const string[]);

main()
{
	print("\n----------------------------------");
	print(" Blank Gamemode by your name here");
	print("----------------------------------\n");
}


public OnFilterScriptInit()
{
        Textdraw0 = TextDrawCreate(126.000000, 160.000000, "");
	TextDrawAlignment(Textdraw0, 2);
	TextDrawBackgroundColor(Textdraw0, 255);
	TextDrawFont(Textdraw0, 1);
	TextDrawLetterSize(Textdraw0, 0.500000, 1.799999);
	TextDrawColor(Textdraw0, -1);
	TextDrawSetOutline(Textdraw0, 0);
	TextDrawSetProportional(Textdraw0, 1);
	TextDrawSetShadow(Textdraw0, 1);
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}


public Credit(playerid,const string[])
{
	new str[128];
	format(str, 128, "%s", string);
	TextDrawSetString(Textdraw0, str);
	TextDrawShowForPlayer(playerid, Textdraw0);
}
that is my filterscript
this is the callremotefunction
Code:
CallRemoteFunction("Credit", "iisi", playerid, -1, "Credits Go To XXX", 4000);
CallRemoteFunction("Credit", "iisi", playerid, -1, "Credits Go To XXX", 14000);
how can i make it so 4000 is the amount of time it shows then it will hide the textdraw then the next one show.
Reply


Messages In This Thread
CallRemoteFunction - by bennyisme - 24.08.2010, 00:52
Re: CallRemoteFunction - by willsuckformoney - 24.08.2010, 01:19
Re: CallRemoteFunction - by bennyisme - 24.08.2010, 01:28
Re: CallRemoteFunction - by dax123 - 24.08.2010, 03:35
Re: CallRemoteFunction - by bennyisme - 30.08.2010, 05:28

Forum Jump:


Users browsing this thread: 1 Guest(s)