shape1
shape2
shape3
shape4
shape7
shape8

Прошу помощи HELP!


Статус
Закрыто для дальнейших ответов.

Carl

Новичок
Пользователь
23.03.2014
103
12
0
24
Ув.Пользователи форума.
Прошу помощи!
Ваш Админ Amfy помог сделать чтобы при выдачи лидерки игрок спавнился на базе организации!

switch(PlayerInfo[playerid][pLeader] || PlayerInfo[playerid][pMember])
{
Вот строки в паблике

спавна координат 3 а спавниться по 1-ым координатам

HELP ME!

public OnPlayerSpawn(playerid)
{

   case 1: SetPlayerPos(playerid,2582.6062,-2443.8167,14.8459);
   case 2: SetPlayerPos(playerid,77.1089,1409.4655,0.9252);
   case 3: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 4: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 5: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 6: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 7: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 8: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 9: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 10: SetPlayerPos(playerid,781.8969,751.6186,12.9307);
   case 11: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 12: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 13: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 14: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 15: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 16: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 17: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 18: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 19: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 20: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 21: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 22: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 23: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 24: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 25: SetPlayerPos(playerid,0.0,0.0,0.0);
   default:
 
A

Amfy

Гость
Гость
Где у тебя вообще switch

В case указывается номер фракции, а у тебя фигня какая-то.

 
A

Amfy

Гость
Гость
Я тебе не такой код вставил, который ты скинул выше.

 

Carl

Новичок
Пользователь
23.03.2014
103
12
0
24
Ув.Пользователи форума.

Прошу помощи!

Ваш Админ Amfy помог сделать чтобы при выдачи лидерки игрок спавнился на базе организации!

switch(PlayerInfo[playerid][pLeader] || PlayerInfo[playerid][pMember])
{
Вот строки в паблике

спавна координат 3 а спавниться по 1-ым координатам

HELP ME!

public OnPlayerSpawn(playerid)
{

   case 1: SetPlayerPos(playerid,2582.6062,-2443.8167,14.8459);
   case 2: SetPlayerPos(playerid,77.1089,1409.4655,0.9252);
   case 3: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 4: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 5: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 6: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 7: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 8: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 9: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 10: SetPlayerPos(playerid,781.8969,751.6186,12.9307);
   case 11: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 12: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 13: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 14: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 15: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 16: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 17: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 18: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 19: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 20: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 21: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 22: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 23: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 24: SetPlayerPos(playerid,0.0,0.0,0.0);
   case 25: SetPlayerPos(playerid,0.0,0.0,0.0);
   default:
я разобрался в чем ошибка а именно в этой строке

switch(PlayerInfo[playerid][pLeader] || PlayerInfo[playerid][pMember])
{заменил на эту и все работает нормально спасибо Amfy помог
switch(PlayerInfo[playerid][pMember])
{
 
Статус
Закрыто для дальнейших ответов.