[Help]Yellow Indicator
#1

how to delete this?

http://prntscr.com/3tlz6y

Reply
#2

pawn Код:
// Put this in OnGameModeInIt.
DisableInteriorEnterExits();
Source: https://sampwiki.blast.hk/wiki/DisableInteriorEnterExits.
- Description: Disable all the interior entrances and exits in the game (the yellow arrows at doors).
Reply
#3

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
pawn Код:
// Put this in OnGameModeInIt.
DisableInteriorEnterExits();
Source: https://sampwiki.blast.hk/wiki/DisableInteriorEnterExits.
- Description: Disable all the interior entrances and exits in the game (the yellow arrows at doors).
Blank when am recompile :/
and

Код:
D:\asaad\(0.3z) USF - Server Pack\gamemodes\usfMain.pwn(3675) : warning 217: loose indentation
D:\asaad\(0.3z) USF - Server Pack\gamemodes\usfMain.pwn(4569) : warning 217: loose indentation
D:\asaad\(0.3z) USF - Server Pack\gamemodes\usfMain.pwn(4570) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Reply
#4

Are you sure you added it correctly?
pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    return 1;
}
Reply
#5

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Are you sure you added it correctly?
pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    return 1;
}
Yap

Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    return 1;
}
	SetGameModeText("Stunt/Freeroam/DM/Fun");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
Reply
#6

Please Someone Help Me



Sorry For Double Post.
Reply
#7

pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    SetGameModeText("Stunt/Freeroam/DM/Fun");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}
Reply
#8

pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    SetGameModeText("Stunt/Freeroam/DM/Fun");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}
Use that for ident your code.
http://codegenerators.pl
Reply
#9

Quote:
Originally Posted by RenovanZ
Посмотреть сообщение
pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    SetGameModeText("Stunt/Freeroam/DM/Fun");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}
still blank.

(Can I PM You?)
Reply
#10

Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    SetGameModeText("Stunt/Freeroam/DM/Fun");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}
 	planelist = LoadModelSelectionMenu("planes.txt");
    boatlist = LoadModelSelectionMenu("boats.txt");
    vehlist = LoadModelSelectionMenu("vehicles.txt");

	SetWorldTime(12);
	UsePlayerPedAnims();

	LoadVehicles();

	new time[10], date[10], h, m, s, y, mon, day;
	gettime(h, m, s);
	getdate(y, mon, day);
	format(time, sizeof(time), "%d:%d:%d", h, m, s);
	format(date, sizeof(date), "%d/%d/%d", day, mon, y);
 	new INI:FILE_SERVER_STATS = INI_Open(ServerStats);
  	INI_SetTag(FILE_SERVER_STATS, "Server_Statistics");
	INI_WriteString(FILE_SERVER_STATS, "Last_Restarted_Time", time);
	INI_WriteString(FILE_SERVER_STATS, "Last_Restarted_Date", date);
	INI_Close(FILE_SERVER_STATS);

	INI_ParseFile(ServerStats, "loadserverstats", .bExtra = false);
	ScoreTimer = SetTimer("scoretimer", 1000, true);
	FixTimer = SetTimer("FixAllCar",1000,true);
	SetTimer("RandomMessages", 90000, true);
	SetTimer("DMcountUpdate", 1000, true);
	SetTimer("TDmsg",8000,true);
	cTDcolor = SetTimer("ChangeTDcolor", 2000, false);
	cWEBcolor = SetTimer("ChangeWEBcolor", 2000, false);

	box = TextDrawCreate(780.000000, 450.744384, "usebox");
	TextDrawLetterSize(box, 0.036497, -2.580867);
	TextDrawTextSize(box, -309.500000, 11.199993);
	TextDrawAlignment(box, 1);
	TextDrawColor(box, 0);
	TextDrawUseBox(box, true);
	TextDrawBoxColor(box, 102);
	TextDrawSetShadow(box, 0);
	TextDrawSetOutline(box, 0);
	TextDrawFont(box, 0);

	fdm = TextDrawCreate(82.000000, 429.333160, "Field DM (/fdm):");
	TextDrawLetterSize(fdm, 0.269998, 1.879999);
	TextDrawAlignment(fdm, 1);
	TextDrawColor(fdm, -201681153);
	TextDrawSetShadow(fdm, 0);
	TextDrawSetOutline(fdm, 0);
	TextDrawBackgroundColor(fdm, 51);
	TextDrawFont(fdm, 1);
	TextDrawSetProportional(fdm, 1);

	war = TextDrawCreate(273.000000, 430.577789, "War DM (/war):");
	TextDrawLetterSize(war, 0.300000, 1.786666);
	TextDrawAlignment(war, 1);
	TextDrawColor(war, -201681153);
	TextDrawSetShadow(war, 0);
	TextDrawSetOutline(war, 1);
	TextDrawBackgroundColor(war, 51);
	TextDrawFont(war, 1);
	TextDrawSetProportional(war, 1);

	mini = TextDrawCreate(473.000000, 429.333343, "Minigun DM (/mini):");
	TextDrawLetterSize(mini, 0.255499, 1.991999);
	TextDrawAlignment(mini, 1);
	TextDrawColor(mini, -101017857);
	TextDrawSetShadow(mini, 0);
	TextDrawSetOutline(mini, 1);
	TextDrawBackgroundColor(mini, 51);
	TextDrawFont(mini, 1);
	TextDrawSetProportional(mini, 1);

	fdmplayers = TextDrawCreate(160.000000, 430.577789, "x");
	TextDrawLetterSize(fdmplayers, 0.449999, 1.600000);
	TextDrawAlignment(fdmplayers, 1);
	TextDrawColor(fdmplayers, -1523963137);
	TextDrawSetShadow(fdmplayers, 0);
	TextDrawSetOutline(fdmplayers, 1);
	TextDrawBackgroundColor(fdmplayers, 51);
	TextDrawFont(fdmplayers, 1);
	TextDrawSetProportional(fdmplayers, 1);

	warplayers = TextDrawCreate(358.500000, 431.822326, "x");
	TextDrawLetterSize(warplayers, 0.449999, 1.600000);
	TextDrawAlignment(warplayers, 1);
	TextDrawColor(warplayers, -1523963137);
	TextDrawSetShadow(warplayers, 0);
	TextDrawSetOutline(warplayers, 1);
	TextDrawBackgroundColor(warplayers, 51);
	TextDrawFont(warplayers, 1);
	TextDrawSetProportional(warplayers, 1);

	miniplayers = TextDrawCreate(563.000000, 431.822204, "x");
	TextDrawLetterSize(miniplayers, 0.449999, 1.600000);
	TextDrawAlignment(miniplayers, 1);
	TextDrawColor(miniplayers, -1523963137);
	TextDrawSetShadow(miniplayers, 0);
	TextDrawSetOutline(miniplayers, 1);
	TextDrawBackgroundColor(miniplayers, 51);
	TextDrawFont(miniplayers, 1);
	TextDrawSetProportional(miniplayers, 1);

	web = TextDrawCreate(437.000000, 1.866636, "~y~www~r~."SERVER_WEBSITE".~y~com");
	TextDrawLetterSize(web, 0.392499, 1.705777);
	TextDrawAlignment(web, 1);
	TextDrawColor(web, -1);
	TextDrawSetShadow(web, 0);
	TextDrawSetOutline(web, 1);
	TextDrawBackgroundColor(web, 51);
	TextDrawFont(web, 2);
	TextDrawSetProportional(web, 1);

	InfoTD = TextDrawCreate(81.500000, 413.155670, "Don't forget to try our best maps at /dreamyland!");
	TextDrawLetterSize(InfoTD, 0.272498, 1.662222);
	TextDrawAlignment(InfoTD, 1);
	TextDrawColor(InfoTD, -1);
	TextDrawSetShadow(InfoTD, 0);
	TextDrawSetOutline(InfoTD, 1);
	TextDrawBackgroundColor(InfoTD, 51);
	TextDrawFont(InfoTD, 1);
	TextDrawSetProportional(InfoTD, 1);


	u = TextDrawCreate(6.000000, 406.311218, "U");
	TextDrawLetterSize(u, 0.661500, 2.390223);
	TextDrawAlignment(u, 1);
	TextDrawColor(u, -5963521);
	TextDrawSetShadow(u, 0);
	TextDrawSetOutline(u, 1);
	TextDrawBackgroundColor(u, 51);
	TextDrawFont(u, 3);
	TextDrawSetProportional(u, 1);

	sf = TextDrawCreate(20.500000, 405.688934, "SF");
	TextDrawLetterSize(sf, 0.671500, 2.440000);
	TextDrawAlignment(sf, 1);
	TextDrawColor(sf, -65281);
	TextDrawSetShadow(sf, 0);
	TextDrawSetOutline(sf, 1);
	TextDrawBackgroundColor(sf, 51);
	TextDrawFont(sf, 3);
	TextDrawSetProportional(sf, 1);

	return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)