17.08.2010, 03:27
So I need help with theCallRemoteFunction. How can i make it so that it changes the string without me changing it.
In the fs
Код:
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);
Код:
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); }