Help - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help (
/showthread.php?tid=168746)
Help -
bennyisme - 17.08.2010
So I need help with theCallRemoteFunction. How can i make it so that it changes the string without me changing it.
Код:
CallRemoteFunction("Credit", "iisi", playerid, -1, "Credits go to ...", 4000)
CallRemoteFunction("Credit", "iisi", playerid, -1, "If you see them,", 14000);
CallRemoteFunction("Credit", "isi", playerid, "Please thank them.", 8000);
In the fs
Код:
new Text:Textdraw0;
forward Credit();
public Credit
{
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);
TextDrawBoxColor(Textdraw0, 255);
TextDrawTextSize(Textdraw0, 332.000000, 164.000000);
}
Re: Help -
bennyisme - 17.08.2010
anyone can help me
Re: Help -
bennyisme - 18.08.2010
hello?
CallRemoteFunction("Credit", "iisi", playerid, -1, "If you see them,", 14000);
it will change the textdraw string to what ever is inside the " " and next to it is the timer for how long the textdraw will last.