10:35
ОбновитьСмайлыУправление мини-чатом
МИНИ-ЧАТ
Главная страница!

 



 
          





Рекомендуем:





Последние Файлы GTA 4 Последние Файлы GTA-MP Реклама
Скрипт GTA 4 элементы Watch... 07.09.2014
Ferrari 360 Spider [EPM con... 13.12.2013
Porsche Cayenne Turbo 2012 ... 13.12.2013
Shelby Terlingua Mustang v1... 13.12.2013
Hamann Lamborghini Gallardo... 27.10.2013
[GM] The Big PEN1:LS v2.00 ... 04.12.2017
Dgun (AvnanceRP,SampRP,Dimo... 19.03.2016
SAMP скрипт SX Events (MySQ... 03.03.2016
Карта ASL мэрия для SAMP се... 03.03.2016
AIM для SA-MP 0.3.7 22.02.2016
  • Страница 1 из 1
  • 1
Модератор форума: AXE, Weddew  
опять Pawno
CrazyboyДата: Понедельник, 07.04.2008, 12:20 | Сообщение # 1
Местный
Группа: Продвинутые
Сообщений: 544
Награды: 1
Город: Сумы
Репутация: 47
Замечания: 0%
Статус:
C:\DOCUME~1\CRAZYA~1\0016~1\FIGHTA~1\Arena.pwn(10) : error 001: expected token: ";", but found "new"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.
вот что выдаёт , а вот код

Code
#include <a_samp>

#define FILTERSCRIPT
#define COLOR_DARKBLUE 0x0000D0FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_LIGHTBLUE 0xBBFFFFFF
#define COLOR_BLACK 0x000000FF
#if defined FILTERSCRIPT
new roofpart1
new roofpart2
main()
{

}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE, "This server uses the Wrestling Arena[FS] by Pinder use /arenahelp to view its commands");
}
public OnFilterScriptInit()

{
print("|__________Wrestling Arena[FS]___________|");
print("|___________Created By Pinder____________|");
print("|______________(c) 2008__________________|");

CreateObject(8417, 396.465637, 3693.098145, 119.248215, 0.0000, 179.6226, 348.7500);
CreateObject(8417, 399.206482, 3720.394531, 119.167244, 0.0000, 179.6226, 348.7500);
CreateObject(8417, 405.663239, 3738.737305, 130.869507, 0.0000, 269.0040, 79.3667);
CreateObject(8417, 393.265686, 3676.039307, 131.775757, 0.0000, 269.0040, 79.3667);
CreateObject(8417, 420.270142, 3718.448975, 119.418449, 0.0000, 269.0040, 169.3669);
CreateObject(8417, 413.717194, 3683.611328, 119.446297, 0.0000, 269.0040, 169.3669);
CreateObject(8417, 384.892090, 3725.529053, 119.180809, 0.0000, 269.0040, 349.3670);
CreateObject(8417, 378.038666, 3690.946289, 119.206390, 0.0000, 269.0040, 349.3670);
roofpart1 = CreateObject(8417, 396.832367, 3691.444336, 138.555420, 0.0000, 0.1036, 349.3670);
roofpart2 = CreateObject(8417, 404.735687, 3729.784424, 138.552368, 0.0000, 0.1036, 349.3670);
CreateObject(3452, 415.030884, 3730.315430, 121.833199, 0.0000, 0.0000, 78.7500);
CreateObject(3452, 410.346039, 3701.099121, 121.852943, 0.0000, 0.0000, 78.7500);
CreateObject(2639, 407.536682, 3712.967285, 119.935509, 0.0000, 0.0000, 78.7500);
CreateObject(2639, 407.007721, 3710.648438, 119.960487, 0.0000, 0.0000, 78.7500);
CreateObject(3452, 404.964203, 3674.021729, 121.844467, 0.0000, 0.0000, 78.7500);
CreateObject(2639, 401.803894, 3686.018066, 119.958527, 0.0000, 0.0000, 78.7500);
CreateObject(2639, 401.365265, 3683.736572, 119.958618, 0.0000, 0.0000, 78.7500);
CreateObject(970, 402.697388, 3714.451416, 119.826164, 0.0000, 0.0000, 270.0000);
CreateObject(970, 401.251648, 3717.918213, 119.812370, 0.0000, 0.0000, 315.0000);
CreateObject(970, 397.881744, 3719.702637, 119.788300, 0.0000, 0.0000, 348.7500);
CreateObject(970, 395.081207, 3718.208740, 119.772133, 0.0000, 0.0000, 67.5000);
CreateObject(970, 392.568146, 3715.122803, 119.759865, 0.0000, 0.0000, 33.7500);
CreateObject(970, 391.974365, 3708.199463, 119.790344, 0.0000, 0.0000, 123.7499);
CreateObject(970, 402.310486, 3710.441650, 119.854233, 0.0000, 0.0000, 78.7500);
CreateObject(970, 400.199280, 3707.253662, 119.844688, 0.0000, 0.0000, 33.7500);
CreateObject(970, 396.781494, 3704.966553, 119.825554, 0.0000, 0.0000, 33.7500);
CreateObject(970, 392.721252, 3704.545654, 119.799866, 0.0000, 0.0000, 78.7500);
CreateObject(970, 394.681824, 3701.815186, 119.816040, 0.0000, 0.0000, 78.7500);
CreateObject(970, 391.930817, 3700.508301, 119.799942, 0.0000, 0.0000, 78.7500);
CreateObject(970, 393.884705, 3697.741943, 119.816124, 0.0000, 0.0000, 78.7500);
CreateObject(970, 391.125183, 3696.468018, 119.799934, 0.0000, 0.0000, 78.7500);
CreateObject(970, 393.045349, 3693.671143, 119.815933, 0.0000, 0.0000, 78.7500);
CreateObject(970, 390.282745, 3692.395020, 119.799721, 0.0000, 0.0000, 78.7500);
CreateObject(970, 392.227264, 3689.617188, 119.815857, 0.0000, 0.0000, 78.7500);
CreateObject(970, 389.482727, 3688.336914, 119.799767, 0.0000, 0.0000, 78.7500);
CreateObject(970, 391.407776, 3685.534668, 119.815804, 0.0000, 0.0000, 78.7500);
CreateObject(970, 390.600128, 3681.496094, 119.815781, 0.0000, 0.0000, 78.7500);
CreateObject(970, 389.786194, 3677.413818, 119.815765, 0.0000, 0.0000, 78.7500);
CreateObject(970, 388.687775, 3684.305176, 119.799812, 0.0000, 0.0000, 78.7500);
CreateObject(970, 387.880463, 3680.230225, 119.799835, 0.0000, 0.0000, 78.7500);
CreateObject(970, 387.055603, 3676.188721, 119.782555, 0.0000, 0.0000, 78.7500);
CreateObject(1499, 389.157288, 3677.021729, 119.221848, 0.0000, 0.0000, 168.7500);
CreateObject(970, 390.890350, 3711.922607, 119.778557, 0.0000, 0.0000, 270.0000);
CreateObject(1508, 380.960571, 3678.661865, 120.924728, 0.0000, 0.0000, 78.7500);
CreateObject(1679, 389.159851, 3726.726807, 119.572014, 0.0000, 0.0000, 0.0000);
CreateObject(1679, 389.461945, 3732.121338, 119.543953, 0.0000, 0.0000, 0.0000);
CreateObject(1679, 393.712097, 3729.020996, 119.598473, 0.0000, 0.0000, 0.0000);
CreateObject(1679, 394.013794, 3734.243652, 119.568764, 0.0000, 0.0000, 0.0000);
CreateObject(1679, 393.509003, 3723.800293, 119.603867, 0.0000, 0.0000, 0.0000);
CreateObject(1679, 389.111328, 3722.798340, 119.576744, 0.0000, 0.0000, 0.0000);
CreateObject(16151, 402.944061, 3738.706787, 119.600677, 0.0000, 0.0000, 78.7500);
CreateObject(3525, 387.130951, 3677.500488, 121.477661, 0.0000, 0.0000, 168.7500);
CreateObject(3525, 389.815948, 3676.980225, 121.451050, 0.0000, 0.0000, 168.7500);
CreateObject(3524, 388.312378, 3677.183350, 124.802505, 0.0000, 0.0000, 168.7500);
CreateObject(2684, 404.656250, 3739.373047, 120.799393, 0.0000, 0.0000, 348.7500);
CreateObject(2686, 402.630035, 3738.150635, 119.802795, 0.0000, 0.0000, 168.7500);
CreateObject(2688, 399.493927, 3740.317383, 120.799866, 0.0000, 0.0000, 348.7500);
CreateObject(2732, 385.862274, 3730.669922, 123.962311, 0.0000, 0.0000, 78.7500);
CreateObject(2733, 386.192047, 3732.533447, 123.969086, 0.0000, 0.0000, 78.7500);
CreateObject(2734, 385.479431, 3728.659180, 123.953613, 0.0000, 0.0000, 78.7500);
CreateObject(2735, 385.134003, 3726.679443, 123.948524, 0.0000, 0.0000, 78.7500);
CreateObject(5811, 379.260193, 3683.526855, 123.389374, 0.0000, 0.0000, 326.2500);
CreateObject(7305, 382.848877, 3715.395508, 132.271683, 0.0000, 0.0000, 123.7499);
CreateObject(10838, 416.558563, 3700.316162, 127.669617, 0.0000, 0.0000, 348.7500);
CreateObject(9185, 400.027924, 3738.683838, 128.197784, 0.0000, 0.0000, 0.0000);
CreateObject(8332, 399.691711, 3674.559326, 130.839142, 0.0000, 0.0000, 168.7499);
CreateObject(1828, 389.006897, 3680.179199, 119.228409, 0.0000, 0.0000, 258.7500);
CreateObject(1828, 389.956268, 3684.679443, 119.249657, 0.0000, 0.0000, 258.7500);
CreateObject(1828, 390.946442, 3689.695313, 119.227425, 0.0000, 0.0000, 258.7500);
CreateObject(1828, 391.966614, 3694.539063, 119.229080, 0.0000, 0.0000, 258.7500);
CreateObject(1828, 393.001465, 3699.417236, 119.229500, 0.0000, 0.0000, 258.7500);
CreateObject(1828, 393.789642, 3704.123535, 119.228539, 0.0000, 0.0000, 258.7500);
CreateObject(2232, 390.150635, 3741.760010, 127.479263, 0.0000, 0.0000, 348.7500);
CreateObject(2232, 383.425385, 3718.185303, 126.998489, 0.0000, 0.0000, 78.7500);
CreateObject(2232, 377.590912, 3689.012695, 126.842957, 0.0000, 0.0000, 78.7500);
CreateObject(2232, 400.975433, 3674.722168, 127.247643, 0.0000, 0.0000, 168.7500);
CreateObject(2232, 420.713745, 3720.153564, 129.251129, 0.0000, 0.0000, 258.7500);
CreateObject(1340, 386.021912, 3716.345215, 120.253922, 0.0000, 0.0000, 348.7500);
CreateObject(955, 391.517365, 3741.225098, 119.532913, 0.0000, 0.0000, 348.7500);
CreateObject(1232, 391.942169, 3741.453613, 127.822647, 0.0000, 273.1970, 90.0000);
CreateObject(1232, 410.143982, 3738.037109, 127.777840, 0.0000, 273.1970, 90.0000);
CreateObject(1232, 381.919952, 3709.918213, 126.403458, 0.0000, 273.1970, 180.0000);
CreateObject(1232, 378.871521, 3695.537109, 125.732925, 0.0000, 273.1970, 180.0000);
CreateObject(1232, 395.609924, 3675.808350, 124.835152, 0.0000, 273.1970, 270.0000);
CreateObject(1232, 422.070709, 3727.544678, 129.557236, 0.0000, 273.1970, 0.0001);
CreateObject(1232, 418.802673, 3711.305176, 134.175537, 0.0000, 273.1970, 348.7501);
CreateObject(1232, 417.108521, 3698.013428, 134.156372, 0.0000, 273.1970, 348.7501);
CreateObject(1232, 385.357513, 3677.620117, 131.221283, 0.0000, 273.1970, 258.7501);
CreateObject(2714, 405.020203, 3739.014648, 121.712685, 0.0000, 0.0000, 348.7500);
CreateObject(4734, 433.975006, 3783.764648, 137.793396, 0.0000, 0.0000, 225.0000);
CreateObject(8417, 428.355835, 3752.974121, 130.635315, 0.0000, 0.0000, 337.5000);
CreateObject(17535, 406.797974, 3750.853516, 140.820892, 0.0000, 0.0000, 247.5000);
CreateObject(14780, 396.908722, 3712.129150, 120.132484, 0.0000, 0.0000, 315.0000);
return 1;
}

public OnFilterScriptExit()
{
  return 1;
}

#else

main()
{
  print(" Wrestling Arena [FS] LOADED");
}

#endif

public OnPlayerCommandText(playerid, cmdtext[])
{
  if (strcmp("/arenatele", cmdtext, true, 10) == 0)
  {
         SetPlayerPos(playerid, 396.832367, 3691.444336, 134.555420);
   SetPlayerFacingAngle(playerid, 349.9648);
   SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");    
   SendClientMessage(playerid, COLOR_LIGHTBLUE, "Welcome to the Wrestling ring");
   SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");   
         return 1;
  }  
  if (strcmp("/arenahelp", cmdtext, true, 10) == 0)
  {
   SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");   
   SendClientMessage(playerid, COLOR_DARKBLUE, "|~|~|Commands|~|~|");
   SendClientMessage(playerid, COLOR_LIGHTBLUE, "/arenatele - This command teleports you to the wrestling arena.");  
   SendClientMessage(playerid, COLOR_LIGHTBLUE, "/arenahelp - This command makes this menu appear.");
   SendClientMessage(playerid, COLOR_LIGHTBLUE, "/clearchat - This command clears the chatbox.");    
   SendClientMessage(playerid, COLOR_LIGHTBLUE, "/fsinfo - This command gives you the important information about this filterscript.");   
   SendClientMessage(playerid, COLOR_LIGHTBLUE, "/arenaopen - This command opens the roof of the arena for sunny days.");    SendClientMessage(playerid, COLOR_LIGHTBLUE, "/arenaclose - This command closes the roof of the arena for rainy days.");    SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");    
         return 1;
  }  
  if (strcmp("/fsinfo", cmdtext, true, 10) == 0)
  {
   SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");   
   SendClientMessage(playerid, COLOR_LIGHTBLUE, "|~|~|Information|~|~|");
   SendClientMessage(playerid, COLOR_WHITE, "This filterscript was designed by Pinder* and what it does is create a wrestling");  
   SendClientMessage(playerid, COLOR_WHITE, "arena interior where fighting can commence and where people can come to enjoy it");  
   SendClientMessage(playerid, COLOR_WHITE, "if you like this filterscript and wish to see more maps like this look in my signature in SA-MP forums.");   
   SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");    
         return 1;
  }  
  if(strcmp(cmdtext,"/clearchat",true)==0)
  {
    SendClientMessage(playerid,COLOR_WHITE," ");
    SendClientMessage(playerid,COLOR_WHITE," ");
    SendClientMessage(playerid,COLOR_WHITE," ");
    SendClientMessage(playerid,COLOR_WHITE," ");
    SendClientMessage(playerid,COLOR_WHITE," ");
    SendClientMessage(playerid,COLOR_WHITE," ");
    SendClientMessage(playerid,COLOR_WHITE," ");
    SendClientMessage(playerid,COLOR_WHITE," ");
    SendClientMessage(playerid,COLOR_WHITE," ");
    SendClientMessage(playerid,COLOR_WHITE," ");
       return 1;
  }    
  if(strcmp(cmdtext,"/arenaopen",true)==0)
  {
    MoveObject(roofpart1, 392.582855, 3675.669434, 138.555420, 2);
       MoveObject(roofpart2, 404.985687, 3740.784424, 138.552368, 2);
    SendClientMessageToAll(COLOR_LIGHTBLUE,"The arena roof is now opening");
    return 1;
  }   
  if(strcmp(cmdtext,"/arenaclose",true)==0)
  {
    MoveObject(roofpart1, 396.832367, 3691.444336, 138.555420, 2);
       MoveObject(roofpart2, 404.735687, 3729.784424, 138.552368, 2);
    SendClientMessageToAll(COLOR_LIGHTBLUE,"The arena roof is now closing");    
    return 1;
  }    
  return 0;
}
  


RegEditДата: Понедельник, 07.04.2008, 14:03 | Сообщение # 2
Уважаемый человек
Группа: Продвинутые
Сообщений: 972
Награды: 5
Город: Воронеж
Репутация: 101
Замечания: 20%
Статус:
Вот так правильно. Ты просто в конце new roofpart1 и new roofpart2 не поставил точку с запятой lol

Code

#include <a_samp>

#define FILTERSCRIPT
#define COLOR_DARKBLUE 0x0000D0FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_LIGHTBLUE 0xBBFFFFFF
#define COLOR_BLACK 0x000000FF
#if defined FILTERSCRIPT
new roofpart1;
new roofpart2;
main()
{

}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE, "This server uses the Wrestling Arena[FS] by Pinder use /arenahelp to view its commands");
}
public OnFilterScriptInit()

{
print("|__________Wrestling Arena[FS]___________|");
print("|___________Created By Pinder____________|");
print("|______________(c) 2008__________________|");

CreateObject(8417, 396.465637, 3693.098145, 119.248215, 0.0000, 179.6226, 348.7500);
CreateObject(8417, 399.206482, 3720.394531, 119.167244, 0.0000, 179.6226, 348.7500);
CreateObject(8417, 405.663239, 3738.737305, 130.869507, 0.0000, 269.0040, 79.3667);
CreateObject(8417, 393.265686, 3676.039307, 131.775757, 0.0000, 269.0040, 79.3667);
CreateObject(8417, 420.270142, 3718.448975, 119.418449, 0.0000, 269.0040, 169.3669);
CreateObject(8417, 413.717194, 3683.611328, 119.446297, 0.0000, 269.0040, 169.3669);
CreateObject(8417, 384.892090, 3725.529053, 119.180809, 0.0000, 269.0040, 349.3670);
CreateObject(8417, 378.038666, 3690.946289, 119.206390, 0.0000, 269.0040, 349.3670);
roofpart1 = CreateObject(8417, 396.832367, 3691.444336, 138.555420, 0.0000, 0.1036, 349.3670);
roofpart2 = CreateObject(8417, 404.735687, 3729.784424, 138.552368, 0.0000, 0.1036, 349.3670);
CreateObject(3452, 415.030884, 3730.315430, 121.833199, 0.0000, 0.0000, 78.7500);
CreateObject(3452, 410.346039, 3701.099121, 121.852943, 0.0000, 0.0000, 78.7500);
CreateObject(2639, 407.536682, 3712.967285, 119.935509, 0.0000, 0.0000, 78.7500);
CreateObject(2639, 407.007721, 3710.648438, 119.960487, 0.0000, 0.0000, 78.7500);
CreateObject(3452, 404.964203, 3674.021729, 121.844467, 0.0000, 0.0000, 78.7500);
CreateObject(2639, 401.803894, 3686.018066, 119.958527, 0.0000, 0.0000, 78.7500);
CreateObject(2639, 401.365265, 3683.736572, 119.958618, 0.0000, 0.0000, 78.7500);
CreateObject(970, 402.697388, 3714.451416, 119.826164, 0.0000, 0.0000, 270.0000);
CreateObject(970, 401.251648, 3717.918213, 119.812370, 0.0000, 0.0000, 315.0000);
CreateObject(970, 397.881744, 3719.702637, 119.788300, 0.0000, 0.0000, 348.7500);
CreateObject(970, 395.081207, 3718.208740, 119.772133, 0.0000, 0.0000, 67.5000);
CreateObject(970, 392.568146, 3715.122803, 119.759865, 0.0000, 0.0000, 33.7500);
CreateObject(970, 391.974365, 3708.199463, 119.790344, 0.0000, 0.0000, 123.7499);
CreateObject(970, 402.310486, 3710.441650, 119.854233, 0.0000, 0.0000, 78.7500);
CreateObject(970, 400.199280, 3707.253662, 119.844688, 0.0000, 0.0000, 33.7500);
CreateObject(970, 396.781494, 3704.966553, 119.825554, 0.0000, 0.0000, 33.7500);
CreateObject(970, 392.721252, 3704.545654, 119.799866, 0.0000, 0.0000, 78.7500);
CreateObject(970, 394.681824, 3701.815186, 119.816040, 0.0000, 0.0000, 78.7500);
CreateObject(970, 391.930817, 3700.508301, 119.799942, 0.0000, 0.0000, 78.7500);
CreateObject(970, 393.884705, 3697.741943, 119.816124, 0.0000, 0.0000, 78.7500);
CreateObject(970, 391.125183, 3696.468018, 119.799934, 0.0000, 0.0000, 78.7500);
CreateObject(970, 393.045349, 3693.671143, 119.815933, 0.0000, 0.0000, 78.7500);
CreateObject(970, 390.282745, 3692.395020, 119.799721, 0.0000, 0.0000, 78.7500);
CreateObject(970, 392.227264, 3689.617188, 119.815857, 0.0000, 0.0000, 78.7500);
CreateObject(970, 389.482727, 3688.336914, 119.799767, 0.0000, 0.0000, 78.7500);
CreateObject(970, 391.407776, 3685.534668, 119.815804, 0.0000, 0.0000, 78.7500);
CreateObject(970, 390.600128, 3681.496094, 119.815781, 0.0000, 0.0000, 78.7500);
CreateObject(970, 389.786194, 3677.413818, 119.815765, 0.0000, 0.0000, 78.7500);
CreateObject(970, 388.687775, 3684.305176, 119.799812, 0.0000, 0.0000, 78.7500);
CreateObject(970, 387.880463, 3680.230225, 119.799835, 0.0000, 0.0000, 78.7500);
CreateObject(970, 387.055603, 3676.188721, 119.782555, 0.0000, 0.0000, 78.7500);
CreateObject(1499, 389.157288, 3677.021729, 119.221848, 0.0000, 0.0000, 168.7500);
CreateObject(970, 390.890350, 3711.922607, 119.778557, 0.0000, 0.0000, 270.0000);
CreateObject(1508, 380.960571, 3678.661865, 120.924728, 0.0000, 0.0000, 78.7500);
CreateObject(1679, 389.159851, 3726.726807, 119.572014, 0.0000, 0.0000, 0.0000);
CreateObject(1679, 389.461945, 3732.121338, 119.543953, 0.0000, 0.0000, 0.0000);
CreateObject(1679, 393.712097, 3729.020996, 119.598473, 0.0000, 0.0000, 0.0000);
CreateObject(1679, 394.013794, 3734.243652, 119.568764, 0.0000, 0.0000, 0.0000);
CreateObject(1679, 393.509003, 3723.800293, 119.603867, 0.0000, 0.0000, 0.0000);
CreateObject(1679, 389.111328, 3722.798340, 119.576744, 0.0000, 0.0000, 0.0000);
CreateObject(16151, 402.944061, 3738.706787, 119.600677, 0.0000, 0.0000, 78.7500);
CreateObject(3525, 387.130951, 3677.500488, 121.477661, 0.0000, 0.0000, 168.7500);
CreateObject(3525, 389.815948, 3676.980225, 121.451050, 0.0000, 0.0000, 168.7500);
CreateObject(3524, 388.312378, 3677.183350, 124.802505, 0.0000, 0.0000, 168.7500);
CreateObject(2684, 404.656250, 3739.373047, 120.799393, 0.0000, 0.0000, 348.7500);
CreateObject(2686, 402.630035, 3738.150635, 119.802795, 0.0000, 0.0000, 168.7500);
CreateObject(2688, 399.493927, 3740.317383, 120.799866, 0.0000, 0.0000, 348.7500);
CreateObject(2732, 385.862274, 3730.669922, 123.962311, 0.0000, 0.0000, 78.7500);
CreateObject(2733, 386.192047, 3732.533447, 123.969086, 0.0000, 0.0000, 78.7500);
CreateObject(2734, 385.479431, 3728.659180, 123.953613, 0.0000, 0.0000, 78.7500);
CreateObject(2735, 385.134003, 3726.679443, 123.948524, 0.0000, 0.0000, 78.7500);
CreateObject(5811, 379.260193, 3683.526855, 123.389374, 0.0000, 0.0000, 326.2500);
CreateObject(7305, 382.848877, 3715.395508, 132.271683, 0.0000, 0.0000, 123.7499);
CreateObject(10838, 416.558563, 3700.316162, 127.669617, 0.0000, 0.0000, 348.7500);
CreateObject(9185, 400.027924, 3738.683838, 128.197784, 0.0000, 0.0000, 0.0000);
CreateObject(8332, 399.691711, 3674.559326, 130.839142, 0.0000, 0.0000, 168.7499);
CreateObject(1828, 389.006897, 3680.179199, 119.228409, 0.0000, 0.0000, 258.7500);
CreateObject(1828, 389.956268, 3684.679443, 119.249657, 0.0000, 0.0000, 258.7500);
CreateObject(1828, 390.946442, 3689.695313, 119.227425, 0.0000, 0.0000, 258.7500);
CreateObject(1828, 391.966614, 3694.539063, 119.229080, 0.0000, 0.0000, 258.7500);
CreateObject(1828, 393.001465, 3699.417236, 119.229500, 0.0000, 0.0000, 258.7500);
CreateObject(1828, 393.789642, 3704.123535, 119.228539, 0.0000, 0.0000, 258.7500);
CreateObject(2232, 390.150635, 3741.760010, 127.479263, 0.0000, 0.0000, 348.7500);
CreateObject(2232, 383.425385, 3718.185303, 126.998489, 0.0000, 0.0000, 78.7500);
CreateObject(2232, 377.590912, 3689.012695, 126.842957, 0.0000, 0.0000, 78.7500);
CreateObject(2232, 400.975433, 3674.722168, 127.247643, 0.0000, 0.0000, 168.7500);
CreateObject(2232, 420.713745, 3720.153564, 129.251129, 0.0000, 0.0000, 258.7500);
CreateObject(1340, 386.021912, 3716.345215, 120.253922, 0.0000, 0.0000, 348.7500);
CreateObject(955, 391.517365, 3741.225098, 119.532913, 0.0000, 0.0000, 348.7500);
CreateObject(1232, 391.942169, 3741.453613, 127.822647, 0.0000, 273.1970, 90.0000);
CreateObject(1232, 410.143982, 3738.037109, 127.777840, 0.0000, 273.1970, 90.0000);
CreateObject(1232, 381.919952, 3709.918213, 126.403458, 0.0000, 273.1970, 180.0000);
CreateObject(1232, 378.871521, 3695.537109, 125.732925, 0.0000, 273.1970, 180.0000);
CreateObject(1232, 395.609924, 3675.808350, 124.835152, 0.0000, 273.1970, 270.0000);
CreateObject(1232, 422.070709, 3727.544678, 129.557236, 0.0000, 273.1970, 0.0001);
CreateObject(1232, 418.802673, 3711.305176, 134.175537, 0.0000, 273.1970, 348.7501);
CreateObject(1232, 417.108521, 3698.013428, 134.156372, 0.0000, 273.1970, 348.7501);
CreateObject(1232, 385.357513, 3677.620117, 131.221283, 0.0000, 273.1970, 258.7501);
CreateObject(2714, 405.020203, 3739.014648, 121.712685, 0.0000, 0.0000, 348.7500);
CreateObject(4734, 433.975006, 3783.764648, 137.793396, 0.0000, 0.0000, 225.0000);
CreateObject(8417, 428.355835, 3752.974121, 130.635315, 0.0000, 0.0000, 337.5000);
CreateObject(17535, 406.797974, 3750.853516, 140.820892, 0.0000, 0.0000, 247.5000);
CreateObject(14780, 396.908722, 3712.129150, 120.132484, 0.0000, 0.0000, 315.0000);
return 1;
}

public OnFilterScriptExit()
{
   return 1;
}

#else

main()
{
   print(" Wrestling Arena [FS] LOADED");
}

#endif

public OnPlayerCommandText(playerid, cmdtext[])
{
   if (strcmp("/arenatele", cmdtext, true, 10) == 0)
   {
          SetPlayerPos(playerid, 396.832367, 3691.444336, 134.555420);
    SetPlayerFacingAngle(playerid, 349.9648);
    SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Welcome to the Wrestling ring");
    SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
          return 1;
   }
   if (strcmp("/arenahelp", cmdtext, true, 10) == 0)
   {
    SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
    SendClientMessage(playerid, COLOR_DARKBLUE, "|~|~|Commands|~|~|");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "/arenatele - This command teleports you to the wrestling arena.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "/arenahelp - This command makes this menu appear.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "/clearchat - This command clears the chatbox.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "/fsinfo - This command gives you the important information about this filterscript.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "/arenaopen - This command opens the roof of the arena for sunny days.");    SendClientMessage(playerid, COLOR_LIGHTBLUE, "/arenaclose - This command closes the roof of the arena for rainy days.");    SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
          return 1;
   }
   if (strcmp("/fsinfo", cmdtext, true, 10) == 0)
   {
    SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "|~|~|Information|~|~|");
    SendClientMessage(playerid, COLOR_WHITE, "This filterscript was designed by Pinder* and what it does is create a wrestling");
    SendClientMessage(playerid, COLOR_WHITE, "arena interior where fighting can commence and where people can come to enjoy it");
    SendClientMessage(playerid, COLOR_WHITE, "if you like this filterscript and wish to see more maps like this look in my signature in SA-MP forums.");
    SendClientMessage(playerid, COLOR_BLACK, "__________________________________________________");
          return 1;
   }
   if(strcmp(cmdtext,"/clearchat",true)==0)
   {
     SendClientMessage(playerid,COLOR_WHITE," ");
     SendClientMessage(playerid,COLOR_WHITE," ");
     SendClientMessage(playerid,COLOR_WHITE," ");
     SendClientMessage(playerid,COLOR_WHITE," ");
     SendClientMessage(playerid,COLOR_WHITE," ");
     SendClientMessage(playerid,COLOR_WHITE," ");
     SendClientMessage(playerid,COLOR_WHITE," ");
     SendClientMessage(playerid,COLOR_WHITE," ");
     SendClientMessage(playerid,COLOR_WHITE," ");
     SendClientMessage(playerid,COLOR_WHITE," ");
        return 1;
   }
   if(strcmp(cmdtext,"/arenaopen",true)==0)
   {
     MoveObject(roofpart1, 392.582855, 3675.669434, 138.555420, 2);
        MoveObject(roofpart2, 404.985687, 3740.784424, 138.552368, 2);
     SendClientMessageToAll(COLOR_LIGHTBLUE,"The arena roof is now opening");
     return 1;
   }
   if(strcmp(cmdtext,"/arenaclose",true)==0)
   {
     MoveObject(roofpart1, 396.832367, 3691.444336, 138.555420, 2);
        MoveObject(roofpart2, 404.735687, 3729.784424, 138.552368, 2);
     SendClientMessageToAll(COLOR_LIGHTBLUE,"The arena roof is now closing");
     return 1;
   }
   return 0;
}



"эта акс сделал... видно твоя жопа ему не понравилась..." © MAK
"Парни оплодотворяются с 13 лет" © SpLaSh

По поводу скриптов/модов и скриптинга в pawn в ЛС/ICQ не обращаться.
Для этих целей, в конце концов, существует форум.
KakashuДата: Понедельник, 07.04.2008, 17:28 | Сообщение # 3
Новенький
Группа: Продвинутые
Сообщений: 3
Награды: 2
Репутация: 1
Замечания: 0%
Статус:
я нашол самоучитель токо 5 уроков а больше нету!
миха1Дата: Четверг, 07.08.2008, 21:59 | Сообщение # 4
Новенький
Группа: Пользователи
Сообщений: 20
Награды: 1
Репутация: 2
Замечания: 0%
Статус:
Kakashu, а можешь ссылку дать где ты их нашел
  • Страница 1 из 1
  • 1
Поиск:





 


 


 
Хостинг от uCoz samp.at.ua