Код:
new string[MAX_PLAYER_NAME];
new string1[MAX_PLAYER_NAME];
ConnectNPC("Bill_Thomson","Bill_Thomson");
ConnectNPC("Allan_Wilcox","Allan_Wilcox");
ShowNameTags(1);
//ConnectNPC("Tommy_Jefferson","Tommy_Jefferson");
//Maverick=AddStaticVehicle(497,1544.9231,-1353.0363,329.6515,90.8358,0,1); // PoliceMaverick
Create3DTextLabel("Bill_Thomson",COLOR_WHITE,826.1484,-1355.1833,15.0814,20.0,0,1);
Create3DTextLabel("Allan_Wilcox",COLOR_WHITE,758.2222,5.6291,1001.6030,20.0,0,1);
CreateRadar(1411.3148,-1721.3430,12.5469,180.1961,85,15);
CreateRadar(1368.3779,-1161.6581,23.8996,86.8368,115,15);
//textdraw
lbt = TextDrawCreate(-1.0,2.0,"---");
lbb = TextDrawCreate(0.0,337.0,"---");
TextDrawUseBox(lbt,1);
TextDrawBoxColor(lbt,0x000000ff);
TextDrawTextSize(lbt,640.000000,-69.000000);
TextDrawUseBox(lbb,1);
TextDrawBoxColor(lbb,0x000000ff);
TextDrawTextSize(lbb,638.000000,-60.000000);
TextDrawAlignment(lbt,0);
TextDrawAlignment(lbb,0);
TextDrawBackgroundColor(lbt,0x000000ff);
TextDrawBackgroundColor(lbb,0x000000ff);
TextDrawFont(lbt,3);
TextDrawLetterSize(lbt,1.000000,12.199999);
TextDrawFont(lbb,3);
TextDrawLetterSize(lbb,0.899999,15.000000);
TextDrawColor(lbt,0x000000ff);
TextDrawColor(lbb,0x000000ff);
TextDrawSetOutline(lbt,1);
TextDrawSetOutline(lbb,1);
TextDrawSetProportional(lbt,1);
TextDrawSetProportional(lbb,1);
TextDrawSetShadow(lbt,1);
TextDrawSetShadow(lbb,1);
//
txt1 = TextDrawCreate(5.0, 400.0,Text_Minimap1);
TextDrawUseBox(txt1, 0);
TextDrawFont(txt1, 1);
TextDrawSetShadow(txt1,0);
TextDrawSetOutline(txt1,1);
TextDrawBackgroundColor(txt1,0x000000FF);
TextDrawColor(txt1,0xFFFFFFFF);
//
txt2 = TextDrawCreate(5.0, 400.0,Text_Minimap2);
TextDrawUseBox(txt2, 0);
TextDrawFont(txt2, 1);
TextDrawSetShadow(txt2,0);
TextDrawSetOutline(txt2,1);
TextDrawBackgroundColor(txt2,0x000000FF);
TextDrawColor(txt2,0xFFFFFFFF);
//---------------------------//
for(new c=0;c<CAR_AMOUNT;c++)
{
Gas[c] = GasMax;
}
LoadCar();
CreateFoodMenus();
CreateGuideMenus();
LoadProperty();
LoadBizz();
LoadSBizz();
LoadBoxer();
LoadStuff();
LoadIRC();
LoadFamilies();
LoadCK();
LoadTurfs();
LoadPapers();
LoadDrugSystem();
LoadMatsSystem();
LoadCordes();
LoadCoffre();
LoadHQLocks();
LoadTrunk();
IRCInfo[0][iPlayers] = 0; IRCInfo[1][iPlayers] = 0; IRCInfo[2][iPlayers] = 0;
IRCInfo[3][iPlayers] = 0; IRCInfo[4][iPlayers] = 0; IRCInfo[5][iPlayers] = 0;
IRCInfo[6][iPlayers] = 0; IRCInfo[7][iPlayers] = 0; IRCInfo[8][iPlayers] = 0;
IRCInfo[9][iPlayers] = 0;
News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
format(string, sizeof(string), "Nothing");
strmid(News[hAdd1], string, 0, strlen(string), 255);
strmid(News[hAdd2], string, 0, strlen(string), 255);
strmid(News[hAdd3], string, 0, strlen(string), 255);
strmid(News[hAdd4], string, 0, strlen(string), 255);
strmid(News[hAdd5], string, 0, strlen(string), 255);
format(string1, sizeof(string1), "No-one");
strmid(News[hContact1], string1, 0, strlen(string1), 255);
strmid(News[hContact2], string1, 0, strlen(string1), 255);
strmid(News[hContact3], string1, 0, strlen(string1), 255);
strmid(News[hContact4], string1, 0, strlen(string1), 255);
strmid(News[hContact5], string1, 0, strlen(string1), 255);
PlayerHaul[108][pCapasity] = 100;
PlayerHaul[109][pCapasity] = 100;
PlayerHaul[110][pCapasity] = 50;
PlayerHaul[111][pCapasity] = 50;
SetGameModeText("VL[RP] Beta v1.9");
SendRconCommand("mapname Los Angeles");
SendRconCommand("weburl www.vida-loca.forum-pro.fr");
format(objstore, sizeof(objstore), "MOLE: I got nothing, check back with me later.");
format(cbjstore, sizeof(cbjstore), "HQ: There is nothing in your Vicinity, Out.");
format(motd, sizeof(motd), "Bienvenue sur .:Vida Loca:. [RP].");
gettime(ghour, gminute, gsecond);
FixHour(ghour);
ghour = shifthour;
if(!realtime)
{
SetWorldTime(wtime);
}
SetPDistance(10);
// EnableTirePopping(1);
// EnableZoneNames(1);
AllowInteriorWeapons(1);
AllowAdminTeleport(0);
UsePlayerPedAnims(); //unique walking
// ShowPlayerMarkers(false);
DisableInteriorEnterExits();
EnableStuntBonusForAll(0);
the rest of the code is the createobject and the addstaticvehicle and is too long to post