Help motd
#1

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

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
Reply
#3

Need it with command
Reply
#4

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)