Народ помогите поменять название!
Darius Дата: Четверг, 21.07.2011, 18:44:18 | Сообщение # 1
Группа: Пользователи
Сообщений: 14
Мой сервер переходит на новый хост и на старом хочу написать Аипи моего нового сервера. Пишу в SendRconCommand("hostname после hostname *Rus|Samp-RolePlay [Shock -1] 0.3c"); и при компляции выдаёт Error: C:\Users\George\Desktop\sarp 1.7\SARP v 1.7\gamemodes\thatall2.pwn(48009) : error 017: undefined symbol "b_OnPlayerUpdate" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. Помогите срочно где ошибкаааа
Сообщение Мой сервер переходит на новый хост и на старом хочу написать Аипи моего нового сервера. Пишу в SendRconCommand("hostname после hostname *Rus|Samp-RolePlay [Shock -1] 0.3c"); и при компляции выдаёт Error: C:\Users\George\Desktop\sarp 1.7\SARP v 1.7\gamemodes\thatall2.pwn(48009) : error 017: undefined symbol "b_OnPlayerUpdate" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. Помогите срочно где ошибкаааа Автор - Darius Дата добавления - 21.07.2011 в 18:44:18
Александр Дата: Четверг, 21.07.2011, 19:06:13 | Сообщение # 2
Группа: Пользователи
Сообщений: 298
тыд легчеж просто на старый хост поставить серв (пустой) с 1 слотом и паролем, а server.cfg написать название ип ного серва.. (ну например еще на месяц серв пустой на старом хосте подержать чтобы все новый ип записали и все
Dimka_71rus,[east_side]_trane,и конечноже Я... Запомните этих великих флудеров, офтоперов, и просто самых самых :D
Сообщение тыд легчеж просто на старый хост поставить серв (пустой) с 1 слотом и паролем, а server.cfg написать название ип ного серва.. (ну например еще на месяц серв пустой на старом хосте подержать чтобы все новый ип записали и все Автор - Александр Дата добавления - 21.07.2011 в 19:06:13
Сообщение Нет неполучается я в server.cfg прописал в hostname новое название и поставил слот из 100 один. Перезагрузил сервер но всё равно осталось одно и тоже. А в моде когда прописываю пишет Ошибка. Помогите может ктото сталкивался с этим? Автор - Darius Дата добавления - 22.07.2011 в 08:25:11
____6oBo Дата: Пятница, 22.07.2011, 09:37:05 | Сообщение # 4
Группа: Пользователи
Сообщений: 96
ко всем new потом ко всем forward Code
forward ChangeHostname();
в public OnGameModeInit() Code
SetTimer("ChangeHostname",2000,1);
и потом в самом низу или где нибудь пишешь это Code
public ChangeHostname() { switch (gChangeHN) { case 0: SendRconCommand("hostname название"); case 1: SendRconCommand("hostname название"); } if (gChangeHN == 1) { gChangeHN = 0; } else { gChangeHN++; } }
Добавлено (22.07.2011, 09:37) --------------------------------------------- можешь за место 1 названия написать сайт,а за место 2 названия сайт
Сообщение ко всем new потом ко всем forward Code
forward ChangeHostname();
в public OnGameModeInit() Code
SetTimer("ChangeHostname",2000,1);
и потом в самом низу или где нибудь пишешь это Code
public ChangeHostname() { switch (gChangeHN) { case 0: SendRconCommand("hostname название"); case 1: SendRconCommand("hostname название"); } if (gChangeHN == 1) { gChangeHN = 0; } else { gChangeHN++; } }
Добавлено (22.07.2011, 09:37) --------------------------------------------- можешь за место 1 названия написать сайт,а за место 2 названия сайт
Автор - ____6oBo Дата добавления - 22.07.2011 в 09:37:05
Darius Дата: Пятница, 22.07.2011, 10:15:35 | Сообщение # 5
Группа: Пользователи
Сообщений: 14
Вобще что это за ошибка она появляется когда я чтото хочу изменить илидобавить: C:\Users\George\Desktop\Neax.pwn(48267) : error 017: undefined symbol "b_OnPlayerUpdate" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Скажите плиззз просто всегда выскакивает И как от неё избавиться?
Сообщение отредактировал Darius - Пятница, 22.07.2011, 10:16:16
Сообщение Вобще что это за ошибка она появляется когда я чтото хочу изменить илидобавить: C:\Users\George\Desktop\Neax.pwn(48267) : error 017: undefined symbol "b_OnPlayerUpdate" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Скажите плиззз просто всегда выскакивает И как от неё избавиться? Автор - Darius Дата добавления - 22.07.2011 в 10:15:35
____6oBo Дата: Пятница, 22.07.2011, 10:30:25 | Сообщение # 6
Группа: Пользователи
Сообщений: 96
скинь эту строчку
Сообщение скинь эту строчку Автор - ____6oBo Дата добавления - 22.07.2011 в 10:30:25
Darius Дата: Пятница, 22.07.2011, 10:35:12 | Сообщение # 7
Группа: Пользователи
Сообщений: 14
Вот сюда я пишу public OnGameModeInit() { SendRconCommand("hostname Samp-RplePlay [Shock-1] 0.3c"); new string[MAX_PLAYER_NAME]; new string1[MAX_PLAYER_NAME]; new p = GetMaxPlayers(); ////////////////////////TEXTDRAW////////////////////////// Textdraw0 = TextDrawCreate(484.000000,4.000000," ~w~www.~g~LIVE-HOST~w~.su"); TextDrawAlignment(Textdraw0,0); TextDrawBackgroundColor(Textdraw0,0x000000FF); TextDrawFont(Textdraw0,0); TextDrawLetterSize(Textdraw0,0.333000,1.666666); TextDrawColor(Textdraw0,0x000000FF); TextDrawSetOutline(Textdraw0,1); TextDrawSetProportional(Textdraw0,1); TextDrawSetShadow(Textdraw0,1); SetTimer("GzCheck",10000,1); SetTimer("SaveGZ",100000,1); /* Textdraw0 = TextDrawCreate(1.000000,421.000000, "~r~www.~g~live-~y~host~b~.su");//0.000000,437.000000 - Â ñàìîì íèçó ïî ñåðåäèíå...1.000000,421.000000 - Ïîä êàðòîé..... 481.000000, 97.000000 - Ýòî ïîä æèçíÿìè..... TextDrawBackgroundColor(Textdraw0, 255); TextDrawFont(Textdraw0, 0); TextDrawLetterSize(Textdraw0, 0.439999, 2.000000); TextDrawColor(Textdraw0, -1); TextDrawSetOutline(Textdraw0, 1); TextDrawSetProportional(Textdraw0, 1); Когда комплирую пишет Ошибку C:\Users\George\Desktop\Neax.pwn(48267) : error 017: undefined symbol "b_OnPlayerUpdate" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Сообщение Вот сюда я пишу public OnGameModeInit() { SendRconCommand("hostname Samp-RplePlay [Shock-1] 0.3c"); new string[MAX_PLAYER_NAME]; new string1[MAX_PLAYER_NAME]; new p = GetMaxPlayers(); ////////////////////////TEXTDRAW////////////////////////// Textdraw0 = TextDrawCreate(484.000000,4.000000," ~w~www.~g~LIVE-HOST~w~.su"); TextDrawAlignment(Textdraw0,0); TextDrawBackgroundColor(Textdraw0,0x000000FF); TextDrawFont(Textdraw0,0); TextDrawLetterSize(Textdraw0,0.333000,1.666666); TextDrawColor(Textdraw0,0x000000FF); TextDrawSetOutline(Textdraw0,1); TextDrawSetProportional(Textdraw0,1); TextDrawSetShadow(Textdraw0,1); SetTimer("GzCheck",10000,1); SetTimer("SaveGZ",100000,1); /* Textdraw0 = TextDrawCreate(1.000000,421.000000, "~r~www.~g~live-~y~host~b~.su");//0.000000,437.000000 - Â ñàìîì íèçó ïî ñåðåäèíå...1.000000,421.000000 - Ïîä êàðòîé..... 481.000000, 97.000000 - Ýòî ïîä æèçíÿìè..... TextDrawBackgroundColor(Textdraw0, 255); TextDrawFont(Textdraw0, 0); TextDrawLetterSize(Textdraw0, 0.439999, 2.000000); TextDrawColor(Textdraw0, -1); TextDrawSetOutline(Textdraw0, 1); TextDrawSetProportional(Textdraw0, 1); Когда комплирую пишет Ошибку C:\Users\George\Desktop\Neax.pwn(48267) : error 017: undefined symbol "b_OnPlayerUpdate" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Автор - Darius Дата добавления - 22.07.2011 в 10:35:12
____6oBo Дата: Пятница, 22.07.2011, 10:39:13 | Сообщение # 8
Группа: Пользователи
Сообщений: 96
нажми в моде Ctrl+f и введи туда b_OnPlayerUpdate и нажми ентерДобавлено (22.07.2011, 10:39) --------------------------------------------- и скинишь сюда что там найдешь
Сообщение нажми в моде Ctrl+f и введи туда b_OnPlayerUpdate и нажми ентерДобавлено (22.07.2011, 10:39) --------------------------------------------- и скинишь сюда что там найдешь
Автор - ____6oBo Дата добавления - 22.07.2011 в 10:39:13
Darius Дата: Пятница, 22.07.2011, 10:43:08 | Сообщение # 9
Группа: Пользователи
Сообщений: 14
b_OnPlayerUpdate(playerid); new Float:armor;GetPlayerArmour(playerid,armor); if(armor!= 0&& !IsACop(playerid)) { new string[256]; format(string,sizeof(string),"%s áåãàë ñ áðîíåé â òî âðåìÿ êîãäà ïðèíàäëåæàë ôðàêöèè íîìåð %d è áûë ëèäåðîì ôðàêöèè %d",Name(playerid),PlayerInfo[playerid][pMember],PlayerInfo[playerid][pLeader]); ABroadCast(COLOR_LIGHTRED,string,1); ABroadCast(COLOR_LIGHTRED,"Êèêíóò ÉÎÁÀ",1); Kick(playerid); return 1; } if(GetPlayerWeapon(playerid) == WEAPON_MINIGUN) { new string[256]; new iptipo[50], namezz2[MAX_PLAYER_NAME]; GetPlayerIp(playerid,iptipo,50); GetPlayerName(playerid, namezz2, sizeof(namezz2)); SendClientMessage(playerid,COLOR_LIGHTRED,"Âû èñïîëüçîâàëè íåäîñòóïíîå îðóæèå 'Ìèíèãàí' è áûëè êèêíóòû!"); format(string,sizeof(string),"AntiCheat: %s áûë êèêíóò ñ ñåðâåðà çà èñïîëüçîâàíèå ìèíèãàíà. IP - %s",namezz2,iptipo); SendClientMessageToAll(COLOR_LIGHTRED, string); ResetPlayerWeapons(playerid); Kick(playerid); } if(GetPlayerWeapon(playerid) == WEAPON_GRENADE) { new string[256]; new iptipo[50], namezz2[MAX_PLAYER_NAME]; GetPlayerIp(playerid,iptipo,50); GetPlayerName(playerid, namezz2, sizeof(namezz2)); SendClientMessage(playerid,COLOR_LIGHTRED,"Âû èñïîëüçîâàëè íåäîñòóïíîå îðóæèå 'ãðàíàòû' è áûëè êèêíóòû!"); format(string,sizeof(string),"AntiCheat: %s áûë êèêíóò ñ ñåðâåðà çà èñïîëüçîâàíèå ãðàíàò. IP - %s",namezz2,iptipo); SendClientMessageToAll(COLOR_LIGHTRED, string); ResetPlayerWeapons(playerid); Kick(playerid); } if(GetPVarInt(playerid, "laser")) { RemovePlayerAttachedObject(playerid, 0); if(IsPlayerInAnyVehicle(playerid)) return 1; switch (GetPlayerWeapon(playerid)) { case 22: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.108249, 0.030232, 0.118051, 1.468254, 350.512573, 364.284240); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.108249, 0.030232, 0.118051, 1.468254, 349.862579, 364.784240); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.078248, 0.027239, 0.113051, -11.131746, 350.602722, 362.384216); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.078248, 0.027239, 0.113051, -11.131746, 350.602722, 362.384216); } } } case 23: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.108249, 0.030232, 0.118051, 1.468254, 350.512573, 364.284240); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.108249, 0.030232, 0.118051, 1.468254, 349.862579, 364.784240); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.078248, 0.027239, 0.113051, -11.131746, 350.602722, 362.384216); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.078248, 0.027239, 0.113051, -11.131746, 350.602722, 362.384216); } } } case 27: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.588246, -0.022766, 0.138052, -11.531745, 347.712585, 352.784271); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.588246, -0.022766, 0.138052, 1.468254, 350.712585, 352.784271); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.563249, -0.01976, 0.134051, -11.131746, 351.602722, 351.384216); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.563249, -0.01976, 0.134051, -11.131746, 351.602722, 351.384216); } } } case 30: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.628249, -0.027766, 0.078052, -6.621746, 352.552642, 355.084289); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.628249, -0.027766, 0.078052, -1.621746, 356.202667, 355.084289); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.663249, -0.02976, 0.080051, -11.131746, 358.302734, 353.384216); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.663249, -0.02976, 0.080051, -11.131746, 358.302734, 353.384216); } } } case 31: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.528249, -0.020266, 0.068052, -6.621746, 352.552642, 355.084289); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.528249, -0.020266, 0.068052, -1.621746, 356.202667, 355.084289); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.503249, -0.02376, 0.065051, -11.131746, 357.302734, 354.484222); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.503249, -0.02376, 0.065051, -11.131746, 357.302734, 354.484222); } } } case 34: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.528249, -0.020266, 0.068052, -6.621746, 352.552642, 355.084289); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.528249, -0.020266, 0.068052, -1.621746, 356.202667, 355.084289); } return 1; } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.658248, -0.03276, 0.133051, -11.631746, 355.302673, 353.584259); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.658248, -0.03276, 0.133051, -11.631746, 355.302673, 353.584259); } } } case 29: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.298249, -0.02776, 0.158052, -11.631746, 359.302673, 357.584259); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.298249, -0.02776, 0.158052, 8.368253, 358.302673, 352.584259); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.293249, -0.027759, 0.195051, -12.131746, 354.302734, 352.484222); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.293249, -0.027759, 0.195051, -12.131746, 354.302734, 352.484222); } } } } }
Сообщение b_OnPlayerUpdate(playerid); new Float:armor;GetPlayerArmour(playerid,armor); if(armor!= 0&& !IsACop(playerid)) { new string[256]; format(string,sizeof(string),"%s áåãàë ñ áðîíåé â òî âðåìÿ êîãäà ïðèíàäëåæàë ôðàêöèè íîìåð %d è áûë ëèäåðîì ôðàêöèè %d",Name(playerid),PlayerInfo[playerid][pMember],PlayerInfo[playerid][pLeader]); ABroadCast(COLOR_LIGHTRED,string,1); ABroadCast(COLOR_LIGHTRED,"Êèêíóò ÉÎÁÀ",1); Kick(playerid); return 1; } if(GetPlayerWeapon(playerid) == WEAPON_MINIGUN) { new string[256]; new iptipo[50], namezz2[MAX_PLAYER_NAME]; GetPlayerIp(playerid,iptipo,50); GetPlayerName(playerid, namezz2, sizeof(namezz2)); SendClientMessage(playerid,COLOR_LIGHTRED,"Âû èñïîëüçîâàëè íåäîñòóïíîå îðóæèå 'Ìèíèãàí' è áûëè êèêíóòû!"); format(string,sizeof(string),"AntiCheat: %s áûë êèêíóò ñ ñåðâåðà çà èñïîëüçîâàíèå ìèíèãàíà. IP - %s",namezz2,iptipo); SendClientMessageToAll(COLOR_LIGHTRED, string); ResetPlayerWeapons(playerid); Kick(playerid); } if(GetPlayerWeapon(playerid) == WEAPON_GRENADE) { new string[256]; new iptipo[50], namezz2[MAX_PLAYER_NAME]; GetPlayerIp(playerid,iptipo,50); GetPlayerName(playerid, namezz2, sizeof(namezz2)); SendClientMessage(playerid,COLOR_LIGHTRED,"Âû èñïîëüçîâàëè íåäîñòóïíîå îðóæèå 'ãðàíàòû' è áûëè êèêíóòû!"); format(string,sizeof(string),"AntiCheat: %s áûë êèêíóò ñ ñåðâåðà çà èñïîëüçîâàíèå ãðàíàò. IP - %s",namezz2,iptipo); SendClientMessageToAll(COLOR_LIGHTRED, string); ResetPlayerWeapons(playerid); Kick(playerid); } if(GetPVarInt(playerid, "laser")) { RemovePlayerAttachedObject(playerid, 0); if(IsPlayerInAnyVehicle(playerid)) return 1; switch (GetPlayerWeapon(playerid)) { case 22: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.108249, 0.030232, 0.118051, 1.468254, 350.512573, 364.284240); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.108249, 0.030232, 0.118051, 1.468254, 349.862579, 364.784240); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.078248, 0.027239, 0.113051, -11.131746, 350.602722, 362.384216); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.078248, 0.027239, 0.113051, -11.131746, 350.602722, 362.384216); } } } case 23: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.108249, 0.030232, 0.118051, 1.468254, 350.512573, 364.284240); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.108249, 0.030232, 0.118051, 1.468254, 349.862579, 364.784240); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.078248, 0.027239, 0.113051, -11.131746, 350.602722, 362.384216); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.078248, 0.027239, 0.113051, -11.131746, 350.602722, 362.384216); } } } case 27: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.588246, -0.022766, 0.138052, -11.531745, 347.712585, 352.784271); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.588246, -0.022766, 0.138052, 1.468254, 350.712585, 352.784271); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.563249, -0.01976, 0.134051, -11.131746, 351.602722, 351.384216); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.563249, -0.01976, 0.134051, -11.131746, 351.602722, 351.384216); } } } case 30: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.628249, -0.027766, 0.078052, -6.621746, 352.552642, 355.084289); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.628249, -0.027766, 0.078052, -1.621746, 356.202667, 355.084289); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.663249, -0.02976, 0.080051, -11.131746, 358.302734, 353.384216); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.663249, -0.02976, 0.080051, -11.131746, 358.302734, 353.384216); } } } case 31: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.528249, -0.020266, 0.068052, -6.621746, 352.552642, 355.084289); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.528249, -0.020266, 0.068052, -1.621746, 356.202667, 355.084289); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.503249, -0.02376, 0.065051, -11.131746, 357.302734, 354.484222); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.503249, -0.02376, 0.065051, -11.131746, 357.302734, 354.484222); } } } case 34: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.528249, -0.020266, 0.068052, -6.621746, 352.552642, 355.084289); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.528249, -0.020266, 0.068052, -1.621746, 356.202667, 355.084289); } return 1; } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.658248, -0.03276, 0.133051, -11.631746, 355.302673, 353.584259); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.658248, -0.03276, 0.133051, -11.631746, 355.302673, 353.584259); } } } case 29: { if(IsPlayerAiming(playerid)) { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.298249, -0.02776, 0.158052, -11.631746, 359.302673, 357.584259); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.298249, -0.02776, 0.158052, 8.368253, 358.302673, 352.584259); } } else { if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.293249, -0.027759, 0.195051, -12.131746, 354.302734, 352.484222); } else { SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, 0.293249, -0.027759, 0.195051, -12.131746, 354.302734, 352.484222); } } } } } Автор - Darius Дата добавления - 22.07.2011 в 10:43:08
____6oBo Дата: Пятница, 22.07.2011, 10:45:51 | Сообщение # 10
Группа: Пользователи
Сообщений: 96
может из-за того что не public OnPlayerUpdate a b_OnPlayerUpdate? попробуй убрать b_ и за место этого паблик написать
Сообщение может из-за того что не public OnPlayerUpdate a b_OnPlayerUpdate? попробуй убрать b_ и за место этого паблик написать Автор - ____6oBo Дата добавления - 22.07.2011 в 10:45:51
Darius Дата: Пятница, 22.07.2011, 10:54:17 | Сообщение # 11
Группа: Пользователи
Сообщений: 14
Нет щас пишет C:\Users\George\Desktop\sarp 1.7\SARP v 1.7\gamemodes\Neax.pwn(48267) : error 017: undefined symbol "public_OnPlayerUpdate" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. Что делать помоги просто очень надо?
Сообщение Нет щас пишет C:\Users\George\Desktop\sarp 1.7\SARP v 1.7\gamemodes\Neax.pwn(48267) : error 017: undefined symbol "public_OnPlayerUpdate" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. Что делать помоги просто очень надо? Автор - Darius Дата добавления - 22.07.2011 в 10:54:17
____6oBo Дата: Пятница, 22.07.2011, 10:58:26 | Сообщение # 12
Группа: Пользователи
Сообщений: 96
public OnPlayerUpdate(playerid) так попробуйДобавлено (22.07.2011, 10:58) --------------------------------------------- public OnPlayerUpdate(playerid) {
Сообщение отредактировал ____6oBo - Пятница, 22.07.2011, 10:57:50
Сообщение public OnPlayerUpdate(playerid) так попробуйДобавлено (22.07.2011, 10:58) --------------------------------------------- public OnPlayerUpdate(playerid) {
Автор - ____6oBo Дата добавления - 22.07.2011 в 10:58:26
Darius Дата: Пятница, 22.07.2011, 11:25:11 | Сообщение # 13
Группа: Пользователи
Сообщений: 14
C:\Users\George\Desktop\sarp 1.7\SARP v 1.7\gamemodes\Neax.pwn(48267) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. ЩАС ЭТА ОШИБКА
Сообщение C:\Users\George\Desktop\sarp 1.7\SARP v 1.7\gamemodes\Neax.pwn(48267) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. ЩАС ЭТА ОШИБКА Автор - Darius Дата добавления - 22.07.2011 в 11:25:11
____6oBo Дата: Пятница, 22.07.2011, 11:27:52 | Сообщение # 14
Группа: Пользователи
Сообщений: 96
посмотри,может у тебя уж существут такой паблик? я сам не знаю из-за чего еррор
Сообщение посмотри,может у тебя уж существут такой паблик? я сам не знаю из-за чего еррор Автор - ____6oBo Дата добавления - 22.07.2011 в 11:27:52
Darius Дата: Пятница, 22.07.2011, 11:32:05 | Сообщение # 15
Группа: Пользователи
Сообщений: 14
Да есть такой. Я нашол. Что делать?
Сообщение Да есть такой. Я нашол. Что делать? Автор - Darius Дата добавления - 22.07.2011 в 11:32:05
Загрузка страницы, займет меньше минуты...
Статистика Форума
Последнии темы
Читаемые темы
Лучшие пользователи
Новые пользователи