#1

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);
}
Reply
#2

anyone can help me
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)