Itt az ongamemodeinit:
public OnGameModeInit()
{
balazskapu = CreateDynamicObject(980, -776.14600, 2742.73560, 47.31600, 0.00000, 0.00000, -178.98399);
szerelokapu = CreateDynamicObject(11102, -566.84692, 2618.47827, 55.70610, 0.00000, 0.00000, 0.00000);
//////////////////////////////
SetTimer(\"SzerverNev\", 4000, 1);
////////////////////////////////////////
artkapu = CreateObject(971, 395.01858520508, 2472.8989257813, 15, 0, 0, 0);
for(new v = 0; v < MAX_VEHICLES; v++) IsLocked[v] = 0;
new string[MAX_PLAYER_NAME];
new string1[MAX_PLAYER_NAME];
for(new c=0;c<CAR_AMOUNT;c++)
{
Gas[c] = GasMax;
}
kresi = 0;
Bombarobban = 0;
LoadCar();
LoadProperty();
CreateFoodMenus();
CreateLicensesMenuMenus();
LoadBizz();
LoadSBizz();
LoadBoxer();
LoadStuff();
//LoadIRC();
LoadFamilies();
LoadCK();
LoadTurfs();
LoadPapers();
LoadDrugSystem();
LoadMatsSystem();
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(modnev);
MapNeve(mapnev);
SendRconCommand(\"weburl\");
format(string,sizeof(string),\"gravity 0.01\");
SendRconCommand(string);
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), \"Üdvözöllek az SouthLife RPG Szerveren\");
gettime(ghour, gminute, gsecond);
FixHour(ghour);
ghour = shifthour;
SetPDistance(10);
AllowInteriorWeapons(1);
AllowAdminTeleport(0);
UsePlayerPedAnims();
//UsePlayerPedAnims(); //unique walking
ShowPlayerMarkers(0);
DisableInteriorEnterExits();
EnableStuntBonusForAll(false);
//ShowNameTags(false);
//ShowPlayerNameTagForPlayer(playerid,false);
//SetNameTagDrawDistance(2.5);
//DisableNameTagLOS();
ShowNameTags(true);
SetNameTagDrawDistance(60.0);
DisableNameTagLOS();
// TIMEEEEEEEEERRRRR
SetTimer(\"CheckTimer\", 2000, 1);
SetTimer(\"SaveTimer\", 900000, 1);
Dupla hozzászólás automatikusan összefûzve. ( [time]2015. szeptember 19. 17:30:35[/time] )
A legfrisebb pluginok vannak bent