KinG_95
Компетентный
В начале к инклудам разумеется xD
// У тя в моде это должно быть
Ко всем
Ко всем форвардам и new
В public OnGameModeInit()
В GameModeInitExitFunc
В OnPlayerDisconnect
В конец мода
Ещё ниже xd
Редактировать по цветам мона как угодно
Автор: None
Кому понадобилось
C вас пЛюСиГГГ +++
Готово...
PHP:
#include a_samp
Ко всем
PHP:
#define websitecount 11
#define ms 200
PHP:
forward ChangeWebsite();
forward ChangeTextWebsite(text[]);
new Text:TextWebsite;
new TextWebsiteCount = 0;
PHP:
{
TextWebsite = TextDrawCreate(тут координаты, "Forum");//0.000000,437.000000 - В самом низу по середине...1.000000,421.000000 - Под картой..... 481.000000, 97.000000 - Это под жизнями.....
TextDrawBackgroundColor(TextWebsite, 255);
TextDrawFont(TextWebsite, 3);
TextDrawLetterSize(TextWebsite, 0.439999, 2.000000);
TextDrawColor(TextWebsite, -1);
TextDrawSetOutline(TextWebsite, 1);
TextDrawSetProportional(TextWebsite, 1);
SetTimer("ChangeWebsite",ms,1);
return 1;
}
PHP:
TextDrawDestroy(TextWebsite);
PHP:
TextDrawHideForPlayer(playerid, TextWebsite);
PHP:
public ChangeTextWebsite(text[])
{
TextDrawHideForAll(TextWebsite);
TextDrawSetString(TextWebsite,text);
TextDrawShowForAll(TextWebsite);
return 1;
}
PHP:
public ChangeWebsite()
{
if(TextWebsiteCount > websitecount) TextWebsiteCount = 0;
switch(TextWebsiteCount)
{
case 0:
{
ChangeTextWebsite("~r~F~g~o~y~r~w~u~b~m");
}
case 1:
{
ChangeTextWebsite("~r~F~b~o~g~r~y~у~w~m");
}
case 2:
{
ChangeTextWebsite("~w~F~r~o~b~r~g~у~y~m");
}
case 3:
{
ChangeTextWebsite("~y~F~w~o~r~r~b~у~g~m");
}
case 4:
{
ChangeTextWebsite("~g~F~y~o~w~r~r~у~b~m");
}
case 5:
{
ChangeTextWebsite("~b~F~g~o~y~r~w~у~r~m");
}
case 6:
{
ChangeTextWebsite("~r~F~b~o~g~r~y~у~w~m");
}
case 7:
{
ChangeTextWebsite("~y~F~w~o~r~r~b~у~g~m");
}
}
TextWebsiteCount++;
}
Автор: None
Кому понадобилось
C вас пЛюСиГГГ +++
Готово...
