[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 2 из 6
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • »
[Pawno-Урок]Основные команды SAMP 0.3c
Дата: 10.12.2010, Пятница, 18:50:14 | Сообщение # $NUMBER
Группа: Пользователи
Сообщений: 28
Репутация: 0+
Спасибо большое
Дата: 10.12.2010, Пятница, 18:51:04 | Сообщение # $NUMBER
Группа: Проверенные
Сообщений: 170
Репутация: 99+
Или вот
Code
new engine,lights,alarm,doors,bonnet,boot,objective;
      if(strcmp(cmd, "/hoodon",true) == 0)
      {
          new vid = GetPlayerVehicleID(playerid);
          if(vid != INVALID_VEHICLE_ID)
          {
              GetPlayerName(playerid, sendername, sizeof(sendername));
              GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
              SetVehicleParamsEx(vid,engine,lights,alarm,doors,VEHICLE_PARAMS_ON,boot,objective);
              format(string, sizeof(string), "* %s открыл капот.", sendername);
              ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
          }
          return 1;
      }
      if(strcmp(cmd, "/hoodoff",true) == 0)
      {
          new vid = GetPlayerVehicleID(playerid);
          if(vid != INVALID_VEHICLE_ID)
          {
              GetPlayerName(playerid, sendername, sizeof(sendername));
              GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
              SetVehicleParamsEx(vid,engine,lights,alarm,doors,VEHICLE_PARAMS_OFF,boot,objective);
              format(string, sizeof(string), "* %s закрыл капот.", sendername);
              ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
          }
      }
Дата: 10.12.2010, Пятница, 19:03:02 | Сообщение # $NUMBER
Группа: Пользователи
Сообщений: 28
Репутация: 0+
У меня вот ещё вопрос, не по теме, но можешь добавить в неё: Это добавление шлема на мотик
Куда что пихать?

#define SLOT 1

new Float:HelmetPos[][6] = {
{0.070000, 0.000000, 0.000000, 88.000000, 75.000000, 0.000000}, //skin 0
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 1
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 2
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 3
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 4
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 5
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 6
{0.090000, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000}, //skin 7
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 8
{0.059999, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000}, //skin 9
{0.090000, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000}, //skin 10
{0.070000, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000}, //skin 11
{0.070000, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000}, //skin 12
{0.070000, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000}, //skin 13
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 14
{0.059999, 0.000000, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 15
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 16
{0.059999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 17
{0.059999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 18
{0.059999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 19
{0.059999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 20
{0.059999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 21
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 22
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 23
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 24
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 25
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 26
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 27
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 28
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 29
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 30
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 31
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 32
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 33
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 34
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 35
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 36
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 37
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 38
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 39
{0.050000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 40
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 41
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 42
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 43
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 44
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 45
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 46
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 47
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 48
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 49
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 50
{0.100000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 51
{0.100000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 52
{0.100000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 53
{0.100000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 54
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 55
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 56
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 57
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 58
{0.079999, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 59
{0.079999, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 60
{0.079999, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 61
{0.079999, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 62
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 63
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 64
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 66
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 67
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 68
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 69
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 70
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 71
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 72
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 73
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 75
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 76
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 78
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 79
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 80
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 81
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 82
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 83
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 84
{0.070000, 0.039999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 85
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 86
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 87
{0.070000, 0.039999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 88
{0.070000, 0.039999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 89
{0.050000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 90
{0.050000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 91
{0.050000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 92
{0.050000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 93
{0.050000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 94
{0.050000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 95
{0.050000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 96
{0.050000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 97
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 98
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 99
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 100
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 101
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 102
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 103
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 104
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 105
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 106
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 107
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 108
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 109
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 110
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 111
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 112
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 113
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 114
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 115
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 116
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 117
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 118
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 119
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 120
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 121
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 122
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 123
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 124
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 125
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 126
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 127
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 128
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 129
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 130
{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 131
{0.000000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 132
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 133
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 134
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 135
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 136
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 137
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 138
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 139
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 140
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 141
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 142
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 143
{0.090000, 0.000000, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 144
{0.090000, 0.000000, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 145
{0.090000, 0.000000, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 146
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 147
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 148
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 150
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 151
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 152
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 153
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 154
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 155
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 156
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 157
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 158
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 159
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 160
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 161
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 162
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 163
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 164
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 165
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 166
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 167
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 168
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 169
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 170
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 171
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 172
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 173
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 174
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 175
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 176
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 177
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 178
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 179
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 180
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 181
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 182
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 183
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 184
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 185
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 186
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 187
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 188
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 189
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 190
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 191
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 192
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 193
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 194
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 195
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 196
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 197
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 198
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 199
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 200
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 201
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 202
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 203
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 204
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 205
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 206
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 207
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 209
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 210
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 211
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 212
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 213
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 214
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 215
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 216
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 217
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 218
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 219
{0.029999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 220
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 221
{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 222
{0.070000, 0.050000, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 223
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 224
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 225
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 226
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 227
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 228
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 229
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 230
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 231
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 232
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 233
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 234
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 235
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 236
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 237
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 238
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 239
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 240
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 241
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 242
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 243
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 244
{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 245
{0.070000, 0.050000, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 246
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 247
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 248
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 249
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 250
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 251
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 252
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 253
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 254
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 255
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 256
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 257
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 258
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 259
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 260
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 261
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 262
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 263
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 264
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 265
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 266
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 267
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 268
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 269
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 270
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 271
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 272
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 274
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 275
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 276
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 277
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 278
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 279
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 280
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 281
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 282
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 283
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 284
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 285
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 286
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 287
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 288
{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}, //skin 289
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 290
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 291
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 292
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 293
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 294
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 295
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 296
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 297
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}, //skin 298
{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000} //skin 299
};

public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
new vehid = GetPlayerVehicleID(playerid);
if(IsABike(vehid))
{
new skin = GetPlayerSkin(playerid);
SetPlayerAttachedObject(playerid, SLOT, 18645, 2, HelmetPos[skin][0], HelmetPos[skin][1], HelmetPos[skin][2], HelmetPos[skin][3], HelmetPos[skin][4], HelmetPos[skin][5]);
}
}else{
RemovePlayerAttachedObject(playerid, SLOT);
}
return 1;
}

stock IsABike(vehicleid)
{
new result;
new model = GetVehicleModel(vehicleid);
switch(model)
{
case 509, 481, 510, 462, 448, 581, 522, 461, 521, 523, 463, 586, 468, 471: result = model;
default: result = 0;
}
return result;

Дата: 11.12.2010, Суббота, 13:10:41 | Сообщение # $NUMBER
Группа: Пользователи
Сообщений: 144
Репутация: 6+
Hummer™, а причём тут я??
Дата: 11.12.2010, Суббота, 20:49:59 | Сообщение # $NUMBER
Группа: Проверенные
Сообщений: 112
Репутация: 14+
Народ,такой вопрос.А можно что бы цветов неона было больше?
Дата: 11.12.2010, Суббота, 23:21:58 | Сообщение # $NUMBER
Группа: Проверенные
Сообщений: 112
Репутация: 14+
Жаль однако.Может в следующий раз ) biggrin

Добавлено (11.12.2010, 23.21)
---------------------------------------------
Ещё формальнось.Не понял где ставить неон.

Дата: 12.12.2010, Воскресенье, 08:27:14 | Сообщение # $NUMBER
Группа: Проверенные
Сообщений: 170
Репутация: 99+
SPIRITSER,
Code
public OnPlayerCommandText(playerid, cmdtext[])
Дата: 12.12.2010, Воскресенье, 09:36:38 | Сообщение # $NUMBER
Группа: Проверенные
Сообщений: 112
Репутация: 14+
Romich_ZX, нет,не в этом плане.Где его ставить в игре? А то пишет что тут нельзя установить.
Дата: 12.12.2010, Воскресенье, 11:18:36 | Сообщение # $NUMBER
Группа: Проверенные
Сообщений: 170
Репутация: 99+
SPIRITSER,
Code
    if(strcmp("/neon", cmdtext, true, 10) == 0)
        {
            new neon = CreateObject(18648,0,0,0,0,0,0,100.0);
            new neon1 = CreateObject(18648,0,0,0,0,0,0,100.0);
            AttachObjectToVehicle(neon, GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(neon1, GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, COLOR_WHITE, "Вы установили неон на автомобиль.");
            return 1;
        }
Дата: 12.12.2010, Воскресенье, 12:07:51 | Сообщение # $NUMBER
Группа: Проверенные
Сообщений: 112
Репутация: 14+
Romich_ZX, спасибо,я уже сделал.Но за все команды всё равно + smile
Дата: 30.12.2010, Четверг, 22:39:23 | Сообщение # $NUMBER
Группа: Пользователи
Сообщений: 67
Репутация: 11+
ставлю неоны, сигналку и копот а выдает ошибки(
Дата: 30.12.2010, Четверг, 23:58:50 | Сообщение # $NUMBER
Группа: Проверенные
Сообщений: 112
Репутация: 14+
misha_konsta, на дату посл. сообщения смотрел?
Дата: 31.12.2010, Пятница, 10:45:13 | Сообщение # $NUMBER
Группа: Проверенные
Сообщений: 667
Репутация: 1425+
misha_konsta, Ну показывай ошибки.
Дата: 31.12.2010, Пятница, 19:09:18 | Сообщение # $NUMBER
Группа: Пользователи
Сообщений: 67
Репутация: 11+
ставил етот код
new engine,lights,alarm,doors,bonnet,boot,objective;
if(strcmp(cmd, "/hoodon",true) == 0)
{
new vid = GetPlayerVehicleID(playerid);
if(vid != INVALID_VEHICLE_ID)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vid,engine,lights,alarm,doors,VEHICLE_PARAMS_ON,boot,objective);
format(string, sizeof(string), "* %s открыл капот.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
return 1;
}
if(strcmp(cmd, "/hoodoff",true) == 0)
{
new vid = GetPlayerVehicleID(playerid);
if(vid != INVALID_VEHICLE_ID)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vid,engine,lights,alarm,doors,VEHICLE_PARAMS_OFF,boot,objective);
format(string, sizeof(string), "* %s закрыл капот.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}

варнинги:
C:\Documents and Settings\Admin\Мои документы\ReceivedFiles\на всякий\RussianGang оделаный\gamemodes\larp.pwn(32324) : warning 217: loose indentation
C:\Documents and Settings\Admin\Мои документы\ReceivedFiles\на всякий\RussianGang оделаный\gamemodes\larp.pwn(32325) : warning 217: loose indentation
C:\Documents and Settings\Admin\Мои документы\ReceivedFiles\на всякий\RussianGang оделаный\gamemodes\larp.pwn(32351) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size: 15696 bytes
Code size: 3219876 bytes
Data size: 15752788 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4067 cells (16268 bytes)
Total requirements:19004744 bytes

3 Warnings.

Дата: 31.12.2010, Пятница, 19:42:13 | Сообщение # $NUMBER
Группа: Проверенные
Сообщений: 50
Репутация: 123+
misha_konsta, Табуляция не правильная.
  • Страница 2 из 6
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • »
Поиск: