SA-MP Forums Archive
Help motd - 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)
+--- Thread: Help motd (/showthread.php?tid=553565)



Help motd - ManGoe - 30.12.2014

How to make a editable Message of the day [MOTD] using TExtdraw adn canbe editable by an admin by an command.


Re: Help motd - Facerafter - 30.12.2014

Make a admin cmd and let the motd save to a string.
Create a textdraw and update the text with
pawn Код:
TextDrawSetString(Text:text, string[])
https://sampwiki.blast.hk/wiki/TextDrawSetString


Re: Help motd - ManGoe - 30.12.2014

Need it with command


Re: Help motd - aCloudy - 29.01.2015

Bump, Can someone make this command ? I need it too ..


Re: Help motd - CalvinC - 29.01.2015

Under OnGameModeInit, create a textdraw with TextDrawCreate, then show it under OnPlayerConnect or OnPlayerSpawn(if you have a method to see when the player spawns after connecting) with TextDrawShowForPlayer.
Then when you use this command, use TextDrawSetString to change the text of the Textdraw.


Re: Help motd - Abagail - 29.01.2015

pawn Код:
COMMAND:******(playerid, params[])
{
     if(!******)
     {
          HTTP(0, HTTP_GET, "******.com", "", "Onperson******beforeaskingaquestion");
          ****** = 1;
     }
     get_help_from_people(playerid, true);
     return 1;
}
You clearly didn't ****** a thing, so follow that code above, and then ask.