02.03.2014, 07:45
In the log is not present
Код HTML:
PlayerHealth[playerid] = 100;
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "Необходимо авторизоваться!");
Kick(playerid);
return 1;
}
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pHP] > 100)
{
PlayerInfo[playerid][pHP] = 100;
}
if (PlayerInfo[playerid][pZvezdi] >= 1)
{
SetPlayerWantedLevel(playerid,PlayerInfo[playerid][pZvezdi] );
WantedPoints[playerid]++;
}
ResetPlayerWeapons(playerid);
SetPlayerHealthAC(playerid, PlayerInfo[playerid][pHP]);
SetPlayerWeapons(playerid);
new house = PlayerInfo[playerid][pPhousekey];
TextDrawShowForPlayer(playerid,Text:Textdraw0[playerid]);
TextDrawHideForPlayer(playerid,Box);
TextDrawHideForPlayer(playerid,Speed);
TextDrawHideForPlayer(playerid,SpeedShow[playerid]);
TextDrawHideForPlayer(playerid,Fuel);
TextDrawHideForPlayer(playerid,FuelShow[playerid]);
TextDrawHideForPlayer(playerid,Status);
TextDrawHideForPlayer(playerid,StatusShow[playerid]);
TextDrawHideForPlayer(playerid,LitersShow[playerid]);
TextDrawHideForPlayer(playerid,KMShow[playerid]);
TextDrawHideForPlayer(playerid,Fill[playerid]);
SetPlayerToTeamColor(playerid);
SetCameraBehindPlayer(playerid);
if(PlayerInfo[playerid][pTut] == 0)
{
SetPlayerInterior(playerid,0);
SetPlayerHealthAC(playerid, 100);
PlayerInfo[playerid][pHP] =100;
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0.0000);
SetPlayerCameraPos(playerid, 1667.5118, -1558.2219, 116.2196);
SetPlayerCameraLookAt(playerid, 1666.9060, -1559.0217, 115.9795);
ShowPlayerDialog(playerid,4,DIALOG_STYLE_MSGBOX,"Р егистрация","{FFFFFF}Какого пола будет Ваш персонаж?","Мужчина","Женщина");
TogglePlayerControllable(playerid, 0);
}
if(PlayerInfo[playerid][pMember] > 0)
{
SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
}
if(PlayerInfo[playerid][pMember] <= 0)
{
SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);
}
if(PlayerPaintballing[playerid] != 0)
{
new rand;
Delgun(playerid);
ResetPlayerWeapons(playerid);
new rands = random(sizeof(paintgun));
GiveRichGun(playerid, paintgun[rands], 999);
rand = random(sizeof(PaintballSpawns));
SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]);
SetPlayerColor(playerid, COLOR_REDD);
return 1;
}
if(PlayerInfo[playerid][pJailed] == 1)
{
if(PlayerInfo[playerid][pMestoJail] == 1)
{
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,264.1425,77.4712,1001.0391);
SetPlayerFacingAngle(playerid, 263.0160);
return 1;
}
if(PlayerInfo[playerid][pMestoJail] == 2)
{
SetPlayerInterior(playerid, 10);
SetPlayerPos(playerid,219.5400,109.9767,999.0156);
SetPlayerFacingAngle(playerid, 1.0000);
return 1;
}
if(PlayerInfo[playerid][pMestoJail] == 3)
{
SetPlayerInterior(playerid, 3);
SetPlayerPos(playerid,198.3642,161.8103,1003.0300) ;
SetPlayerFacingAngle(playerid, 1.0000);
return 1;
}
}
if(PlayerInfo[playerid][pCheat] == 1)
{
SetPlayerInterior(playerid, 18);
SetPlayerPos(playerid,-219.7144,1410.6461,27.7734);
SetPlayerFacingAngle(playerid, 276.6526);
SetPlayerVirtualWorld(playerid, 1);
SetPlayerSkin(playerid, 134);
SendClientMessage(playerid, COLOR_LIGHTRED, "Мы Вам крайне рекомендуем удалить чит программу");
return 1;
}
else if(PlayerInfo[playerid][pJailed] == 4)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,5508.3706,1244.7594,23.1886) ;
SetPlayerSkin(playerid, 62);
return 1;
}
SetPlayerVirtualWorld(playerid,0);
if(house != 255)
{
if(PlayerInfo[playerid][pMember] == 0)
{
if(PlayerInfo[playerid][pSex] == 1)
{
if(SpawnChange[playerid])
{
SetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]);
PlayerInfo[playerid][pLocal] = house;
PlayerInfo[playerid][pInt] = HouseInfo[house][hInt];
SetPlayerVirtualWorld(playerid, house+50);
umer[playerid] = 0;
return 1;
}
}
}
}
if(house != 255)
{
if(PlayerInfo[playerid][pMember] == 0)
{
if(PlayerInfo[playerid][pSex] == 2)
{
if(SpawnChange[playerid])
{
SetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]);
PlayerInfo[playerid][pLocal] = house;
PlayerInfo[playerid][pInt] = HouseInfo[house][hInt];
SetPlayerVirtualWorld(playerid, house+50);
umer[playerid] = 0;
return 1;
}
}
}
}
if(house != 255)
{
if(SpawnChange[playerid])
{
SetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]);
PlayerInfo[playerid][pLocal] = house;
PlayerInfo[playerid][pInt] = HouseInfo[house][hInt];
SetPlayerVirtualWorld(playerid, house+50);
umer[playerid] = 0;
return 1;
}
}
switch(PlayerInfo[playerid][pMember])
{
case 1:
{
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid, 235.8750,73.5106,1005.0391);
PlayerInfo[playerid][pInt] = 6;
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
case 2:
{
SetPlayerInterior(playerid, 5);
SetPlayerPos(playerid, 322.4131,316.9056,999.1484);
PlayerInfo[playerid][pInt] = 10;
SetPlayerFacingAngle(playerid, 180.5557);
return 1;
}
case 3:
{
if(forma[playerid] == 1)
{
SetPlayerSkin(playerid, 252);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -1369.5808,492.1583,11.1953);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -1369.5808,492.1583,11.1953);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
case 4:
{
SetPlayerInterior(playerid, 15);
SetPlayerVirtualWorld(playerid, 3);
SetPlayerPos(playerid, 372.0985,-53.2946,1076.4708);
SetPlayerFacingAngle(playerid, 90.0000);
Medics += 1;
return 1;
}
case 5:
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);
SetPlayerInterior(playerid, 5);
SetPlayerPos(playerid, 1265.7104,-793.7453,1084.0078);
PlayerInfo[playerid][pInt] = 5;
SetPlayerVirtualWorld(playerid, 2);
return 1;
}
case 6:
{
SetPlayerInterior(playerid, 5);
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
SetPlayerPos(playerid, 1265.7104,-793.7453,1084.0078);
PlayerInfo[playerid][pInt] = 5;
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
case 7:
{
SetPlayerInterior(playerid, 3);
SetPlayerPos(playerid, 353.8364,164.2525,1019.9844);
SetPlayerFacingAngle(playerid, 0.7755);
PlayerInfo[playerid][pInt] = 3;
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
case 8:
{
SetPlayerInterior(playerid, 12);
SetPlayerPos(playerid, 1126.6283,-11.9165,1002.0859);
SetPlayerFacingAngle(playerid, 359.1460);
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
case 9:
{
SetPlayerInterior(playerid, 15);
SetPlayerPos(playerid, 999.0580,1003.8882,1999.7999);
SetPlayerFacingAngle(playerid, 2.0000);
SetPlayerVirtualWorld(playerid, 2);
gNews[playerid] = 0;
return 1;
}
case 10:
{
SetPlayerInterior(playerid, 10);
SetPlayerPos(playerid, 225.1647,121.0442,999.0786);
SetPlayerFacingAngle(playerid, 89.0733);
PlayerInfo[playerid][pInt] = 10;
return 1;
}
case 11:
{
SetPlayerPos(playerid, -2031.7778,-117.3789,1035.1719);
SetPlayerFacingAngle(playerid, 268.5241);
SetPlayerInterior(playerid,3);
PlayerInfo[playerid][pInt] = 3;
SetPlayerVirtualWorld(playerid, 1);
return 1;
}
case 12:
{
SetPlayerPos(playerid, -61.2984,1364.5847,1080.2109);
SetPlayerFacingAngle(playerid, 100);
SetPlayerInterior(playerid,6);
SetPlayerVirtualWorld(playerid, 34);
PlayerInfo[playerid][pInt] = 6;
return 1;
}
case 13:
{
SetPlayerInterior(playerid, 2);
SetPlayerVirtualWorld(playerid, 75);
SetPlayerFacingAngle(playerid, 180.8549);
SetPlayerPos(playerid, 2449.5959,-1689.5519,1013.5078);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
case 14:
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
SetPlayerInterior(playerid, 5);
SetPlayerPos(playerid, 1265.7104,-793.7453,1084.0078);
PlayerInfo[playerid][pInt] = 5;
SetPlayerVirtualWorld(playerid, 1);
return 1;
}
case 15:
{
SetPlayerInterior(playerid, 3);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerPos(playerid, 2496.012939,-1708.923217,1014.742187);
SetPlayerFacingAngle(playerid, 0.191693);
PlayerInfo[playerid][pInt] = 3;
SetPlayerVirtualWorld(playerid, 1);
return 1;
}
case 16:
{
SetPlayerInterior(playerid, 15);
SetPlayerPos(playerid, 999.0580,1003.8882,1999.7999);
SetPlayerFacingAngle(playerid, 2.0000);
SetPlayerVirtualWorld(playerid, 1);
lNews[playerid] = 0;
return 1;
}
case 17:
{
SetPlayerFacingAngle(playerid, 90.4248);
SetPlayerPos(playerid, -49.7558,1400.3553,1084.4297);
SetPlayerInterior(playerid,8);
SetPlayerVirtualWorld(playerid, 36);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
case 18:
{
SetPlayerInterior(playerid, 18);
SetPlayerVirtualWorld(playerid, 63);
SetPlayerPos(playerid, -223.84,1410.51,27.77);
RemovePlayerAttachedObject(playerid, 1);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
case 19:
{
if(forma[playerid] == 1)
{
SetPlayerSkin(playerid, 252);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 241.7503,1852.6790,8.7578);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 241.7503,1852.6790,8.7578);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
case 20:
{
SetPlayerInterior(playerid, 15);
SetPlayerPos(playerid, 999.0580,1003.8882,1999.7999);
SetPlayerFacingAngle(playerid, 2.0000);
SetPlayerVirtualWorld(playerid, 3);
LvNews[playerid] = 0;
return 1;
}
case 21:
{
SetPlayerInterior(playerid, 3);
SetPlayerPos(playerid, 211.3636,184.3113,1003.0313);
SetPlayerFacingAngle(playerid, 174.3579);
PlayerInfo[playerid][pInt] = 122;
SetPlayerVirtualWorld(playerid, 122);
return 1;
}
case 22:
{
SetPlayerInterior(playerid, 15);
SetPlayerVirtualWorld(playerid, 4);
SetPlayerPos(playerid, 372.0985,-53.2946,1076.4708);
SetPlayerFacingAngle(playerid, 90.0000);
Medics += 1;
return 1;
}
case 23:
{
SetPlayerInterior(playerid, 15);
SetPlayerVirtualWorld(playerid, 5);
SetPlayerPos(playerid, 372.0985,-53.2946,1076.4708);
SetPlayerFacingAngle(playerid, 90.0000);
Medics += 1;
return 1;
}
}
if(PlayerInfo[playerid][pLevel] >= 1 && PlayerInfo[playerid][pLevel] <= 1000)
{
SetPlayerPos(playerid,1223.7371,-1813.9861,16.5938);
SetPlayerFacingAngle(playerid, 232.5330);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
}
}