24.08.2010, 00:52
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); }
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);