shape1
shape2
shape3
shape4
shape7
shape8

Как это исправить

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

denisz

Освоившийся
Пользователь
26.06.2014
294
26
0
20
Скриптер
Здравствуйте,я бы хотел узнать где может быть такое:"Когда принимаю во фракцию,то сразу выдает скин"

 

Basis

chto tut doljno bit`!?
Пользователь
24.06.2014
824
1
271
0
23
найдите команду /invite и киньте сюда(если идёт диалог то кидайте диалог) и вообще ищите строчку SetPlayerSkin

 

denisz

Освоившийся
Пользователь
26.06.2014
294
26
0
20
Скриптер
найдите команду /invite и киньте сюда(если идёт диалог то кидайте диалог) и вообще ищите строчку SetPlayerSkin
Вот команда

Код:
if(strcmp(cmd, "/invite", true) == 0)
	{
		if(IsPlayerConnected(playerid))
		{
			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "Используйте: /invite [playerid/PartOfName]");
				return 1;
			}
			new para1;
			new ftext[40];
			para1 = strval(tmp);
			if (PlayerInfo[playerid][pLeader] >= 1)
			{
				if(IsPlayerConnected(para1))
				{
					if(para1 != INVALID_PLAYER_ID)
					{
						if (gTeam[para1]==TEAM_GREEN && PlayerInfo[para1][pMember] == 0 && PlayerInfo[para1][pFMember] == 255)
						{
							if(PlayerInfo[para1][pJob] > 0)
							{
								SendClientMessage(playerid, COLOR_GREY, "   Этот игрок работает! Скажи ему пускай уволиться f !");
								return 1;
							}
							if (PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2)
							{if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
							{
								if(PlayerInfo[para1][pSex] == 0)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pMember] == 4)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 19 || PlayerInfo[playerid][pMember] == 19)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 7 || PlayerInfo[playerid][pMember] == 7)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 18)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в полицию"; ChosenSkin[para1] = 281; SetPlayerSkin(para1, 281); }
							else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в ФСБ"; ChosenSkin[para1] = 285; SetPlayerSkin(para1, 285); }
							else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в армию"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); }
							else if(PlayerInfo[playerid][pLeader] == 20) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "СОБР"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); }
							else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "в скорую помощь"; ChosenSkin[para1] = 276; SetPlayerSkin(para1, 276); }
							else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "в АТП"; ChosenSkin[para1] = 127; SetPlayerSkin(para1, 127); }
							else if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "на службу в ОГИБДД"; ChosenSkin[para1] = 283; SetPlayerSkin(para1, 283); }
							else if(PlayerInfo[playerid][pLeader] == 7) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "в правительство"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }
							else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Киллеры"; ChosenSkin[para1] = 124; SetPlayerSkin(para1, 124); }
							else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ЕОТРК Рекорд"; ChosenSkin[para1] = 188; SetPlayerSkin(para1, 188); }
							else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ТМК Форсаж"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
							else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в автошколу"; ChosenSkin[para1] = 112; SetPlayerSkin(para1, 112); }
							else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в РЖД"; ChosenSkin[para1] = 102; SetPlayerSkin(para1, 102); }
							else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в гопники"; ChosenSkin[para1] = 114; SetPlayerSkin(para1, 114); }
							else if(PlayerInfo[playerid][pLeader] == 14) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в Южной братве"; ChosenSkin[para1] = 297; SetPlayerSkin(para1, 297); }
							else if(PlayerInfo[playerid][pLeader] == 15) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в американскую братву"; ChosenSkin[para1] = 114; SetPlayerSkin(para1, 114); }
							else if(PlayerInfo[playerid][pLeader] == 16) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в русскую мафию"; ChosenSkin[para1] = 108; SetPlayerSkin(para1, 108); }
							else if(PlayerInfo[playerid][pLeader] == 17) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ЧОП"; ChosenSkin[para1] = 128; SetPlayerSkin(para1, 128); }
							else if(PlayerInfo[playerid][pLeader] == 18) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в Металла-База"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }
							else if(PlayerInfo[playerid][pLeader] == 19) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в МЧС"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
							else { return 1; }
							GetPlayerName(para1, giveplayer, sizeof(giveplayer));
							GetPlayerName(playerid, sendername, sizeof(sendername));
							PlayerInfo[para1][pMember] = PlayerInfo[playerid][pLeader];
							PlayerInfo[para1][pRank] = 1;
							printf("AdmCmd: %s Принял %s в %s.", sendername, giveplayer, ftext);
							format(string, sizeof(string), "Вы были приняты в %s лидером", ftext, sendername);
							SendClientMessage(para1, COLOR_LIGHTBLUE, string);
							format(string, sizeof(string), "Вы приняли в %s игрока %s",ftext, giveplayer);
							SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
							SetPlayerInterior(para1,0);
							SelectChar[para1] = 255;
							PlayerInfo[para1][pDolj] = 1;
							SelectCharID[para1] = PlayerInfo[para1][pMember];
							SelectCharPlace[para1] = 1;
							PlayerInfo[para1][pModel] = ChosenSkin[para1];
							PlayerInfo[para1][pChar] = ChosenSkin[para1];
							ShowMenuForPlayer(ChoseSkin,playerid);
							TogglePlayerControllable(para1, 1);
						}
						else
						{
							SendClientMessage(playerid, COLOR_GREY, "  Этот игрок в розыске / уже состоит во фракции.");
							return 1;
						}
					}
				}//not connected
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   У вас нет прав на использование эитой команды(leaders only)!");
			}
		}
		return 1;
	}
 

Basis

chto tut doljno bit`!?
Пользователь
24.06.2014
824
1
271
0
23
вот

if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в полицию"; ChosenSkin[para1] = 281; SetPlayerSkin(para1, 281); }
                            else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в ФСБ"; ChosenSkin[para1] = 285; SetPlayerSkin(para1, 285); }
                            else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в армию"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); }
                            else if(PlayerInfo[playerid][pLeader] == 20) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "СОБР"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); }
                            else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "в скорую помощь"; ChosenSkin[para1] = 276; SetPlayerSkin(para1, 276); }
                            else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "в АТП"; ChosenSkin[para1] = 127; SetPlayerSkin(para1, 127); }
                            else if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "на службу в ОГИБДД"; ChosenSkin[para1] = 283; SetPlayerSkin(para1, 283); }
                            else if(PlayerInfo[playerid][pLeader] == 7) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "в правительство"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }
                            else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Киллеры"; ChosenSkin[para1] = 124; SetPlayerSkin(para1, 124); }
                            else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ЕОТРК Рекорд"; ChosenSkin[para1] = 188; SetPlayerSkin(para1, 188); }
                            else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ТМК Форсаж"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
                            else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в автошколу"; ChosenSkin[para1] = 112; SetPlayerSkin(para1, 112); }
                            else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в РЖД"; ChosenSkin[para1] = 102; SetPlayerSkin(para1, 102); }
                            else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в гопники"; ChosenSkin[para1] = 114; SetPlayerSkin(para1, 114); }
                            else if(PlayerInfo[playerid][pLeader] == 14) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в Южной братве"; ChosenSkin[para1] = 297; SetPlayerSkin(para1, 297); }
                            else if(PlayerInfo[playerid][pLeader] == 15) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в американскую братву"; ChosenSkin[para1] = 114; SetPlayerSkin(para1, 114); }
                            else if(PlayerInfo[playerid][pLeader] == 16) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в русскую мафию"; ChosenSkin[para1] = 108; SetPlayerSkin(para1, 108); }
                            else if(PlayerInfo[playerid][pLeader] == 17) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ЧОП"; ChosenSkin[para1] = 128; SetPlayerSkin(para1, 128); }
                            else if(PlayerInfo[playerid][pLeader] == 18) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в Металла-База"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }
                            else if(PlayerInfo[playerid][pLeader] == 19) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в МЧС"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
SetPlayerSkin(para1, отвечает за смену скина если тебе нужно чтобы не выдавало просто убери
 

denisz

Освоившийся
Пользователь
26.06.2014
294
26
0
20
Скриптер
вот


if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в полицию"; ChosenSkin[para1] = 281; SetPlayerSkin(para1, 281); }
                            else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в ФСБ"; ChosenSkin[para1] = 285; SetPlayerSkin(para1, 285); }
                            else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в армию"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); }
                            else if(PlayerInfo[playerid][pLeader] == 20) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "СОБР"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); }
                            else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "в скорую помощь"; ChosenSkin[para1] = 276; SetPlayerSkin(para1, 276); }
                            else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "в АТП"; ChosenSkin[para1] = 127; SetPlayerSkin(para1, 127); }
                            else if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "на службу в ОГИБДД"; ChosenSkin[para1] = 283; SetPlayerSkin(para1, 283); }
                            else if(PlayerInfo[playerid][pLeader] == 7) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "в правительство"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }
                            else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Киллеры"; ChosenSkin[para1] = 124; SetPlayerSkin(para1, 124); }
                            else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ЕОТРК Рекорд"; ChosenSkin[para1] = 188; SetPlayerSkin(para1, 188); }
                            else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ТМК Форсаж"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
                            else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в автошколу"; ChosenSkin[para1] = 112; SetPlayerSkin(para1, 112); }
                            else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в РЖД"; ChosenSkin[para1] = 102; SetPlayerSkin(para1, 102); }
                            else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в гопники"; ChosenSkin[para1] = 114; SetPlayerSkin(para1, 114); }
                            else if(PlayerInfo[playerid][pLeader] == 14) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в Южной братве"; ChosenSkin[para1] = 297; SetPlayerSkin(para1, 297); }
                            else if(PlayerInfo[playerid][pLeader] == 15) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в американскую братву"; ChosenSkin[para1] = 114; SetPlayerSkin(para1, 114); }
                            else if(PlayerInfo[playerid][pLeader] == 16) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в русскую мафию"; ChosenSkin[para1] = 108; SetPlayerSkin(para1, 108); }
                            else if(PlayerInfo[playerid][pLeader] == 17) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ЧОП"; ChosenSkin[para1] = 128; SetPlayerSkin(para1, 128); }
                            else if(PlayerInfo[playerid][pLeader] == 18) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в Металла-База"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }
                            else if(PlayerInfo[playerid][pLeader] == 19) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в МЧС"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
SetPlayerSkin(para1, отвечает за смену скина если тебе нужно чтобы не выдавало просто убери
Ошибки теперь

Код:
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(284) : error 029: invalid expression, assumed zero
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(328) : error 017: undefined symbol "tInfo"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(328) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53225) : error 017: undefined symbol "mod1"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53225) : error 017: undefined symbol "mod1"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53226) : error 017: undefined symbol "mod2"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53226) : error 017: undefined symbol "mod2"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53227) : error 017: undefined symbol "mod3"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53227) : error 017: undefined symbol "mod3"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53228) : error 017: undefined symbol "mod4"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53228) : error 017: undefined symbol "mod4"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53229) : error 017: undefined symbol "mod5"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53229) : error 017: undefined symbol "mod5"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53230) : error 017: undefined symbol "mod6"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53230) : error 017: undefined symbol "mod6"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53231) : error 017: undefined symbol "mod7"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53231) : error 017: undefined symbol "mod7"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53232) : error 017: undefined symbol "mod8"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53232) : error 017: undefined symbol "mod8"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53233) : error 017: undefined symbol "mod9"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53233) : error 017: undefined symbol "mod9"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53234) : error 017: undefined symbol "mod10"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53234) : error 017: undefined symbol "mod10"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53235) : error 017: undefined symbol "mod11"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53235) : error 017: undefined symbol "mod11"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53236) : error 017: undefined symbol "mod12"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
 

Basis

chto tut doljno bit`!?
Пользователь
24.06.2014
824
1
271
0
23
не может быть,что вы удаляли?

SetPlayerSkin(para1, 285)
только вот это уберите

 

denisz

Освоившийся
Пользователь
26.06.2014
294
26
0
20
Скриптер
не может быть,что вы удаляли?

SetPlayerSkin(para1, 285)
только вот это уберите
вот ошибки

C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(284) : error 029: invalid expression, assumed zero
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(328) : error 017: undefined symbol "tInfo"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(328) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53225) : error 017: undefined symbol "mod1"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53225) : error 017: undefined symbol "mod1"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53226) : error 017: undefined symbol "mod2"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53226) : error 017: undefined symbol "mod2"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53227) : error 017: undefined symbol "mod3"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53227) : error 017: undefined symbol "mod3"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53228) : error 017: undefined symbol "mod4"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53228) : error 017: undefined symbol "mod4"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53229) : error 017: undefined symbol "mod5"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53229) : error 017: undefined symbol "mod5"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53230) : error 017: undefined symbol "mod6"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53230) : error 017: undefined symbol "mod6"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53231) : error 017: undefined symbol "mod7"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53231) : error 017: undefined symbol "mod7"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53232) : error 017: undefined symbol "mod8"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53232) : error 017: undefined symbol "mod8"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53233) : error 017: undefined symbol "mod9"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53233) : error 017: undefined symbol "mod9"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53234) : error 017: undefined symbol "mod10"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53234) : error 017: undefined symbol "mod10"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53235) : error 017: undefined symbol "mod11"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53235) : error 017: undefined symbol "mod11"
C:\Users\е\Desktop\[pawno-crmp.ru]Stage RolePlay\gamemodes\SRP.pwn(53236) : error 017: undefined symbol "mod12"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

команда 

Код:
if(strcmp(cmd, "/invite", true) == 0)
	{
		if(IsPlayerConnected(playerid))
		{
			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "Используйте: /invite [playerid/PartOfName]");
				return 1;
			}
			new para1;
			new ftext[40];
			para1 = strval(tmp);
			if (PlayerInfo[playerid][pLeader] >= 1)
			{
				if(IsPlayerConnected(para1))
				{
					if(para1 != INVALID_PLAYER_ID)
					{
						if (gTeam[para1]==TEAM_GREEN && PlayerInfo[para1][pMember] == 0 && PlayerInfo[para1][pFMember] == 255)
						{
							if(PlayerInfo[para1][pJob] > 0)
							{
								SendClientMessage(playerid, COLOR_GREY, "   Этот игрок работает! Скажи ему пускай уволиться f !");
								return 1;
							}
							if (PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2)
							{if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
							{
								if(PlayerInfo[para1][pSex] == 0)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pMember] == 4)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 19 || PlayerInfo[playerid][pMember] == 19)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 7 || PlayerInfo[playerid][pMember] == 7)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							else if (PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 18)
							{
								if(PlayerInfo[para1][pSex] == 1)
								{
									if (PlayerInfo[para1][pArmBil] == 0) return 	SendClientMessage(playerid, COLOR_GREY, "У игрока нет военного билета");
								}
							}
							if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в полицию"; ChosenSkin[para1] = 281; SetPlayerSkin(para1, 285); }
                            else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в ФСБ"; ChosenSkin[para1] = 285; SetPlayerSkin(para1, 285); }
                            else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в армию"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); }
                            else if(PlayerInfo[playerid][pLeader] == 20) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "СОБР"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); }
                            else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "в скорую помощь"; ChosenSkin[para1] = 276; SetPlayerSkin(para1, 276); }
                            else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "в АТП"; ChosenSkin[para1] = 127; SetPlayerSkin(para1, 127); }
                            else if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "на службу в ОГИБДД"; ChosenSkin[para1] = 283; SetPlayerSkin(para1, 283); }
                            else if(PlayerInfo[playerid][pLeader] == 7) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "в правительство"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }
                            else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Киллеры"; ChosenSkin[para1] = 124; SetPlayerSkin(para1, 124); }
                            else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ЕОТРК Рекорд"; ChosenSkin[para1] = 188; SetPlayerSkin(para1, 188); }
                            else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ТМК Форсаж"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
                            else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в автошколу"; ChosenSkin[para1] = 112; SetPlayerSkin(para1, 112); }
                            else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в РЖД"; ChosenSkin[para1] = 102; SetPlayerSkin(para1, 102); }
                            else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в гопники"; ChosenSkin[para1] = 114; SetPlayerSkin(para1, 114); }
                            else if(PlayerInfo[playerid][pLeader] == 14) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в Южной братве"; ChosenSkin[para1] = 297; SetPlayerSkin(para1, 297); }
                            else if(PlayerInfo[playerid][pLeader] == 15) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в американскую братву"; ChosenSkin[para1] = 114; SetPlayerSkin(para1, 114); }
                            else if(PlayerInfo[playerid][pLeader] == 16) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в русскую мафию"; ChosenSkin[para1] = 108; SetPlayerSkin(para1, 108); }
                            else if(PlayerInfo[playerid][pLeader] == 17) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ЧОП"; ChosenSkin[para1] = 128; SetPlayerSkin(para1, 128); }
                            else if(PlayerInfo[playerid][pLeader] == 18) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в Металла-База"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }
                            else if(PlayerInfo[playerid][pLeader] == 19) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в МЧС"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
							else { return 1; }
							GetPlayerName(para1, giveplayer, sizeof(giveplayer));
							GetPlayerName(playerid, sendername, sizeof(sendername));
							PlayerInfo[para1][pMember] = PlayerInfo[playerid][pLeader];
							PlayerInfo[para1][pRank] = 1;
							printf("AdmCmd: %s Принял %s в %s.", sendername, giveplayer, ftext);
							format(string, sizeof(string), "Вы были приняты в %s лидером", ftext, sendername);
							SendClientMessage(para1, COLOR_LIGHTBLUE, string);
							format(string, sizeof(string), "Вы приняли в %s игрока %s",ftext, giveplayer);
							SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
							SetPlayerInterior(para1,0);
							SelectChar[para1] = 255;
							PlayerInfo[para1][pDolj] = 1;
							SelectCharID[para1] = PlayerInfo[para1][pMember];
							SelectCharPlace[para1] = 1;
							PlayerInfo[para1][pModel] = ChosenSkin[para1];
							PlayerInfo[para1][pChar] = ChosenSkin[para1];
							ShowMenuForPlayer(ChoseSkin,playerid);
							TogglePlayerControllable(para1, 1);
						}
						else
						{
							SendClientMessage(playerid, COLOR_GREY, "  Этот игрок в розыске / уже состоит во фракции.");
							return 1;
						}
					}
				}//not connected
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   У вас нет прав на использование эитой команды(leaders only)!");
			}
		}
		return 1;
	}
 

Basis

chto tut doljno bit`!?
Пользователь
24.06.2014
824
1
271
0
23
у тебя до этого ошибки были?

 

denisz

Освоившийся
Пользователь
26.06.2014
294
26
0
20
Скриптер
вот


if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в полицию"; ChosenSkin[para1] = 281; SetPlayerSkin(para1, 281); }
                            else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в ФСБ"; ChosenSkin[para1] = 285; SetPlayerSkin(para1, 285); }
                            else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "на службу в армию"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); }
                            else if(PlayerInfo[playerid][pLeader] == 20) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "СОБР"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); }
                            else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "в скорую помощь"; ChosenSkin[para1] = 276; SetPlayerSkin(para1, 276); }
                            else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "в АТП"; ChosenSkin[para1] = 127; SetPlayerSkin(para1, 127); }
                            else if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "на службу в ОГИБДД"; ChosenSkin[para1] = 283; SetPlayerSkin(para1, 283); }
                            else if(PlayerInfo[playerid][pLeader] == 7) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "в правительство"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }
                            else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Киллеры"; ChosenSkin[para1] = 124; SetPlayerSkin(para1, 124); }
                            else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ЕОТРК Рекорд"; ChosenSkin[para1] = 188; SetPlayerSkin(para1, 188); }
                            else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ТМК Форсаж"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
                            else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в автошколу"; ChosenSkin[para1] = 112; SetPlayerSkin(para1, 112); }
                            else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в РЖД"; ChosenSkin[para1] = 102; SetPlayerSkin(para1, 102); }
                            else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в гопники"; ChosenSkin[para1] = 114; SetPlayerSkin(para1, 114); }
                            else if(PlayerInfo[playerid][pLeader] == 14) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в Южной братве"; ChosenSkin[para1] = 297; SetPlayerSkin(para1, 297); }
                            else if(PlayerInfo[playerid][pLeader] == 15) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в американскую братву"; ChosenSkin[para1] = 114; SetPlayerSkin(para1, 114); }
                            else if(PlayerInfo[playerid][pLeader] == 16) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в русскую мафию"; ChosenSkin[para1] = 108; SetPlayerSkin(para1, 108); }
                            else if(PlayerInfo[playerid][pLeader] == 17) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в ЧОП"; ChosenSkin[para1] = 128; SetPlayerSkin(para1, 128); }
                            else if(PlayerInfo[playerid][pLeader] == 18) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в Металла-База"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }
                            else if(PlayerInfo[playerid][pLeader] == 19) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "в МЧС"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
SetPlayerSkin(para1, отвечает за смену скина если тебе нужно чтобы не выдавало просто убери
У вас есть команда /duty?

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