16.11.2013, 15:08
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if (PowerEnabled[playerid]) ActivateMotion(playerid, newkeys); if(AnimPlay[playerid] == 1) { if(newkeys==KEY_SECONDARY_ATTACK) { ClearAnimations(playerid); AnimPlay[playerid] = 0; TextDrawHideForPlayer(playerid,txtAnimHelper); } } else if(newkeys==KEY_SECONDARY_ATTACK) { if(IsPlayerConnected(playerid)) { if(WantedLevel[playerid] >= 1) { SendClientMessage(playerid,COLOR_GREY," You can`t use this command, you are currently Wanted!"); return 1; } for(new i = 0; i < sizeof(HouseInfo); i++) { if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez])) { //printf("Found House :%d",i); if(PlayerInfo[playerid][pPhousekey] == i || HouseInfo[i][hLock] == 0) { SetPlayerInterior(playerid,HouseInfo[i][hInt]); SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]); PlayerInfo[playerid][pVirWorld] = HouseInfo[i][hWorld]; SetPlayerPos(playerid,HouseInfo[i][hExitx],HouseInfo[i][hExity],HouseInfo[i][hExitz]); GameTextForPlayer(playerid, "~w~Welcome Home", 5000, 1); PlayerInfo[playerid][pInt] = HouseInfo[i][hInt]; PlayerInfo[playerid][pLocal] = i; HouseEntered[playerid] = i; } else { GameTextForPlayer(playerid, "~r~Locked", 5000, 1); } } } for(new i = 0; i < sizeof(BizzInfo); i++) { if (PlayerToPoint(3, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ])) { //printf("Found House :%d",i); if(!IsACop(playerid) && (i == 3 || i == 5)) { SendClientMessage(playerid, COLOR_GREY, " Cops only!"); return 1; } if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= BizzInfo[i][bEntranceCost]) { if(PlayerInfo[playerid][pPbiskey] != i) { if(BizzInfo[i][bLocked] == 1) { GameTextForPlayer(playerid, "~r~Closed", 5000, 1); return 1; } if(BizzInfo[i][bProducts] == 0) { GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1); return 1; } GivePlayerMoney(playerid,-BizzInfo[i][bEntranceCost]); format(string, sizeof(string), "~r~-$%d~n~~w~type /exit~n~to get out", BizzInfo[i][bEntranceCost]); BizzInfo[i][bTill] += BizzInfo[i][bEntranceCost]; ExtortionBiz(i, BizzInfo[i][bEntranceCost]); BizzInfo[i][bProducts]--; OnPropUpdate(2); GameTextForPlayer(playerid, string, 5000, 3); } SetPlayerInterior(playerid,BizzInfo[i][bInterior]); SetPlayerPos(playerid,BizzInfo[i][bExitX],BizzInfo[i][bExitY],BizzInfo[i][bExitZ]); PlayerInfo[playerid][pInt] = BizzInfo[i][bInterior]; PlayerInfo[playerid][pLocal] = i+99; SetPlayerVirtualWorld(playerid,i); new dood[MAX_PLAYER_NAME]; GetPlayerName(playerid, dood, sizeof(dood)); format(string, sizeof(string), "%s payed $%d to enter biz %d", dood, BizzInfo[i][bEntranceCost], i); //printf("%s", string);//aici PayLog(string); //PlayerInfo[playerid][pLocal] = i; } else { GameTextForPlayer(playerid, "~r~You don't have the cash", 5000, 1); } } } for(new i = 0; i < sizeof(SBizzInfo); i++) { if (PlayerToPoint(3, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ])) { if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= SBizzInfo[i][sbEntranceCost]) { if(PlayerInfo[playerid][pPbiskey] != i) { if(SBizzInfo[i][sbLocked] == 1) { GameTextForPlayer(playerid, "~r~Closed", 5000, 1); return 1; } if(SBizzInfo[i][sbProducts] == 0) { GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1); return 1; } if(i == 10) { PaintballPlayers ++; PlayerPaintballing[playerid] = 1; new rand = random(sizeof(PaintballSpawns)); SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]); TogglePlayerControllable(playerid, 0); } else if(i == 11) { PlayerKarting[playerid] = 1; SendClientMessage(playerid, TEAM_GROVE_COLOR, "You can now parcipitate in a Karting Race, grab a Kart."); } else { return 1; } GivePlayerMoney(playerid,-SBizzInfo[i][sbEntranceCost]); gSpentCash[playerid] = GetPlayerMoney(playerid); SBizzInfo[i][sbProducts]--; SBizzInfo[i][sbTill] += SBizzInfo[i][sbEntranceCost]; ExtortionSBiz(i, SBizzInfo[i][sbEntranceCost]); new dood[MAX_PLAYER_NAME]; GetPlayerName(playerid, dood, sizeof(dood)); format(string, sizeof(string), "%s payed $%d to enter sbiz %d", dood, SBizzInfo[i][sbEntranceCost], i); //printf("%s", string);//aici PayLog(string); OnPropUpdate(3); } } else { GameTextForPlayer(playerid, "~r~You dont have the cash", 5000, 1); } } } if (IsPlayerInRangeOfPoint(playerid,10,1099.3762,1601.5387,12.5469)) { if (GetPlayerState(playerid) == 1) { if (PlayerInfo[playerid][pDTK] == 0 && PlayerInfo[playerid][pDM] == 0 && PlayerInfo[playerid][pAdmin] <= 2) { SendClientMessage(playerid,COLOR_NICERED,"You do not have a DD Ticket!"); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "[ADMIN]: %s Tried to Enter to the DDS Without a Ticket!", sendername); ABroadCast(COLOR_LIGHTRED,string, 5); return 1; } //new tmpcar = GetPlayerVehicleID(playerid); //new vehicleid = GetPlayerVehicleID(playerid); SetPlayerPos(playerid, -1437.1271,990.9039,1030.5000); PlayerInfo[playerid][pDTK] = 0; SetPlayerInterior(playerid, 15); //LinkVehicleToInterior(vehicleid, 15); PlayerInfo[playerid][pInt] = 25; ResetPlayerWeapons(playerid); GameTextForPlayer(playerid,"~p~SpaWn. ~n~~r~Destruction Derby Stadium", 5000,1); SendClientMessage(playerid, COLOR_NICERED, "Welcome to the VIP Gaming Destruction Derby Stadium (DD)"); SendClientMessage(playerid, TEAM_VAGOS_COLOR, "----------------------------------DD Main Rules---------------------------------------"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "Ram Someone Before the Admin Does a countdown is equal to two hours Jail"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "The Center Square means Hosters Area"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "If you do not host the DD, You are not Allowed to Get to the Hoster Area"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "Getting into the Hoster Area without beginning a Hoster is equal to 30 Minutes Jail"); SendClientMessage(playerid, TEAM_VAGOS_COLOR, "----------------------------------Driver Rules----------------------------------------"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "Go to the car and Wait for The Admin Voice!"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "The Last One That remains without getting destroyed Wins"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "Prize: 50.000$; GOOD LUCK!"); } } if (IsPlayerInRangeOfPoint(playerid, 10,2695.4033,-1704.4580,11.8438)) { if (GetPlayerState(playerid) == 1) { if (PlayerInfo[playerid][pDMHTK] == 0 && PlayerInfo[playerid][pDMH] == 0 && PlayerInfo[playerid][pAdmin] <= 2) { SendClientMessage(playerid,COLOR_NICERED,"You do not have a DDH Ticket!"); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "[ADMIN]: %s Tried to Enter to the DDH Without a Ticket!", sendername); ABroadCast(COLOR_LIGHTRED,string, 5); return 1; } SetPlayerPos(playerid, 1268.3032,1343.2640,10.8130); PlayerInfo[playerid][pDMHTK] = 0; SetPlayerVirtualWorld(playerid, 5); ResetPlayerWeapons(playerid); GameTextForPlayer(playerid,"~p~VIP Gaming~n~~r~Destruction Derby Hunter Stadium", 5000,1); SendClientMessage(playerid, COLOR_NICERED, "Welcome to the VIP Gaming GF Destruction Derby Hunter Stadium (DDH)"); SendClientMessage(playerid, TEAM_VAGOS_COLOR, "----------------------------------DDH Main Rules---------------------------------------"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "Cine incepe inainte sa spuna adminul va primi jail"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "Suiti-va in cate un hydra si asteptati startul"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "Cine zboara aiurea va primi jail 2 ore"); SendClientMessage(playerid, TEAM_VAGOS_COLOR, "----------------------------------Driver Rules----------------------------------------"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "Cine ramane ultimu castiga"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "Prize: 50.000$; GOOD LUCK!"); } } for(new i = 0; i < sizeof(Cazino); i++) { if(PlayerToPoint(2.0, playerid, -1754.1101,962.4252,24.8828)) { if(IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_GREY, " Please park your car."); return 1; } if(Cazino[i][czLocked] == 1) { GameTextForPlayer(playerid, "~r~Closed", 5000, 1); return 1; } if(PlayerInfo[playerid][pLevel] < 5) { SendClientMessage(playerid, COLOR_GREY, " You need level 5 or high to enter in Casino."); return 1; } if(PlayerInfo[playerid][pAge] < 14) { SendClientMessage(playerid, COLOR_GREY, " Sorry, you need to be 14 years to enter in Casino."); return 1; } new cash = GetPlayerMoney(playerid); if(cash < 100000) { SendClientMessage(playerid, COLOR_GREY, " You need $100000 to enter in Casino."); return 1;} GivePlayerMoney(playerid, -100000); SetPlayerPos(playerid, 1963.0127,973.4717,994.4688); SetPlayerInterior(playerid,10); PlayerInfo[playerid][pInt] = 10; PlayerInfo[playerid][pLocal] = 500; SetPlayerVirtualWorld(playerid,500); } } if (PlayerToPoint(3.0, playerid,1480.9103,-1770.3743,18.7958)) { SetPlayerInterior(playerid,3); SetPlayerPos(playerid,387.7978,173.8582,1008.3828); GameTextForPlayer(playerid, "~w~Welcome to the City Hall!", 5000, 1); PlayerInfo[playerid][pInt] = 3; PlayerInfo[playerid][pLocal] = 241; } else if (PlayerToPoint(5.0, playerid,1073.0619,-344.5148,73.9922)) { if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) { SetPlayerInterior(playerid,2); SetPlayerPos(playerid,1205.0947,-10.1685,1000.9219); PlayerInfo[playerid][pInt] = 2; PlayerInfo[playerid][pLocal] = 242; } } else if (PlayerToPoint(5.0, playerid,258.4481,90.4725,1002.4453)) { if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 3) { SetPlayerVirtualWorld(playerid,0); SetPlayerPos(playerid,227.0606,125.8435,1003.1060); } } else if (PlayerToPoint(5.0, playerid,2003.4045,1024.3433,10.8127)) { if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { SetPlayerInterior(playerid,18); SetPlayerPos(playerid,1307.4318,-55.8323,1002.4973); GameTextForPlayer(playerid, "~w~Welcome to Russian Mafia HQ!", 5000, 1); } } else if (PlayerToPoint(5.0, playerid,851.7199,-1520.1335,13.5547)) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { SetPlayerInterior(playerid,2); SetPlayerPos(playerid,2576.6267,-1300.2626,1060.9844); GameTextForPlayer(playerid, "~w~Welcome to Italian Mafia HQ!", 5000, 1); } } /*else if (PlayerToPoint(3.0, playerid,681.6732,-473.3492,16.5363)) { if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) { SetPlayerInterior(playerid,11); SetPlayerPos(playerid,504.6238,-71.9409,998.7578); GameTextForPlayer(playerid, "~w~Welcome to Bikers HQ", 5000, 1); } }*/ else if (PlayerToPoint(3.0, playerid,2786.3970,-1921.1721,13.5469)) { if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) { SetPlayerInterior(playerid,10); PlayerInfo[playerid][pInt] = 10; PlayerInfo[playerid][pVirWorld] = 400; SetPlayerVirtualWorld(playerid,400); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 29, 999); GivePlayerWeapon(playerid, 31, 999); SetPlayerHealth(playerid, 100); //SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000); SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875); GameTextForPlayer(playerid, "~w~Welcome to LSV Training!", 5000, 1); SendClientMessage(playerid, COLOR_GREEN,"Pentru heal scrie /healme"); SendClientMessage(playerid, COLOR_LIGHTRED,"Pentru a iesi din Training, scrieti /exittraining!"); } } else if (PlayerToPoint(3.0, playerid,690.5870,-1275.9880,13.5600)) { if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { SetPlayerInterior(playerid,10);//era 1 PlayerInfo[playerid][pInt] = 10;//era 1 PlayerInfo[playerid][pVirWorld] = 401; SetPlayerVirtualWorld(playerid,401); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 29, 999); GivePlayerWeapon(playerid, 31, 999); SetPlayerHealth(playerid, 100); //SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000); SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875); GameTextForPlayer(playerid, "~w~Welcome to VLA Training", 5000, 1); SendClientMessage(playerid, COLOR_GREEN,"Pentru heal scrie /healme"); SendClientMessage(playerid, COLOR_LIGHTRED,"Pentru a iesi din Training, scrieti /exittraining!"); } } else if (PlayerToPoint(3.0, playerid,2146.2664,-1470.3286,25.7121)) { if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17) { SetPlayerInterior(playerid,10);//era 1 PlayerInfo[playerid][pInt] = 10;//era 1 PlayerInfo[playerid][pVirWorld] = 402; SetPlayerVirtualWorld(playerid,402); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 29, 999); GivePlayerWeapon(playerid, 31, 999); SetPlayerHealth(playerid, 100); //SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);vechi SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875); GameTextForPlayer(playerid, "~w~Welcome to Ballas Training", 5000, 1); SendClientMessage(playerid, COLOR_GREEN,"Pentru heal scrie /healme"); SendClientMessage(playerid, COLOR_LIGHTRED,"Pentru a iesi din Training, scrieti /exittraining!"); } } else if (PlayerToPoint(3.0, playerid,2498.6650,-1687.3389,13.5035)) { if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18) { SetPlayerInterior(playerid,10);//era 1 PlayerInfo[playerid][pInt] = 10;//era 1 PlayerInfo[playerid][pVirWorld] = 403; SetPlayerVirtualWorld(playerid,403); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 29, 999); GivePlayerWeapon(playerid, 31, 999); SetPlayerHealth(playerid, 100); //SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);vechi SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875); GameTextForPlayer(playerid, "~w~Welcome to Grove Training", 5000, 1); SendClientMessage(playerid, COLOR_GREEN,"Pentru heal, scrieti /healme!"); SendClientMessage(playerid, COLOR_LIGHTRED,"Pentru a iesi din Training, scrieti /exittraining!"); } } else if (PlayerToPoint(3.0, playerid,1107.4956,-315.6171,74.7422)) { if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) { SetPlayerInterior(playerid,1); PlayerInfo[playerid][pInt] = 1; PlayerInfo[playerid][pVirWorld] = 404; SetPlayerVirtualWorld(playerid,404); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 31, 999); GivePlayerWeapon(playerid, 34, 999); SetPlayerHealth(playerid, 100); SetPlayerPos(playerid, -729.276000,503.086944,1371.971801); GameTextForPlayer(playerid, "~w~Welcome to Hitman Training", 5000, 1); SendClientMessage(playerid, COLOR_GREEN,"Pentru heal scrie /healme"); SendClientMessage(playerid, COLOR_LIGHTRED,"Pentru a iesi din Training, scrieti /exittraining!"); } } else if (PlayerToPoint(3.0, playerid,1308.5664,-47.2725,1001.0313)) { if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { SetPlayerInterior(playerid,10);//era 1 PlayerInfo[playerid][pInt] = 10;//era 1 PlayerInfo[playerid][pVirWorld] = 405; SetPlayerVirtualWorld(playerid,405); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 29, 999); GivePlayerWeapon(playerid, 31, 999); SetPlayerHealth(playerid, 100); //SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);vechi SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875); GameTextForPlayer(playerid, "~w~Welcome to Mafia Training", 5000, 1); SendClientMessage(playerid, COLOR_GREEN,"Pentru heal scrie /healme"); SendClientMessage(playerid, COLOR_LIGHTRED,"Pentru a iesi din Training, scrieti /exittraining!"); } } else if (PlayerToPoint(3.0, playerid,2561.5168,-1305.3997,1060.9844)) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { SetPlayerInterior(playerid,10);//era 1 PlayerInfo[playerid][pInt] = 10;//era 1 PlayerInfo[playerid][pVirWorld] = 406; SetPlayerVirtualWorld(playerid,406); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 29, 999); GivePlayerWeapon(playerid, 31, 999); SetPlayerHealth(playerid, 100); //SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);vechi SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875); GameTextForPlayer(playerid, "~w~Welcome to Triads Training", 5000, 1); SendClientMessage(playerid, COLOR_GREEN,"Pentru heal scrie /healme"); SendClientMessage(playerid, COLOR_LIGHTRED,"Pentru a iesi din Training, scrieti /exittraining!"); } } else if (PlayerToPoint(3.0, playerid,1743.2148,-1864.4594,13.5738)) { if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) { GameTextForPlayer(playerid, "~w~Welcome to the Taxi HQ!", 5000, 1); SetPlayerInterior(playerid,3); PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 1234); PlayerInfo[playerid][pVirWorld] = 1234; SetPlayerPos(playerid,833.269775,10.588416,1004.179687); } } else if (PlayerToPoint(3.0, playerid,742.0995,-1358.0593,13.5000)) { if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) { GameTextForPlayer(playerid, "~w~Welcome to the News HQ!", 5000, 1); SetPlayerInterior(playerid,3); PlayerInfo[playerid][pInt] = 3; SetPlayerPos(playerid,373.6489,190.4712,1014.1875); } } else if (PlayerToPoint(3.0, playerid,1688.3733,-1343.1908,17.4238)) { if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0) { GameTextForPlayer(playerid, "~w~Welcome to the Spawn Civil!", 5000, 1); SetPlayerInterior(playerid,3); PlayerInfo[playerid][pInt] = 3; SetPlayerPos(playerid,1301.7689,-1332.2402,35.6738); } } /*else if (PlayerToPoint(3.0, playerid,2695.6235,-1704.6960,11.8438)) { GameTextForPlayer(playerid, "~w~Welcome to the 8ball Track", 5000, 1); SetPlayerInterior(playerid,7); SetPlayerPos(playerid,-1404.5299,-259.0602,1043.6563); }*/ else if (PlayerToPoint(8.0, playerid,-2111.5686,-443.9720,38.7344)) { GameTextForPlayer(playerid, "~w~Welcome to the Dirt Track!", 5000, 1); SetPlayerInterior(playerid,4); SetPlayerPos(playerid,-1443.0554,-581.1879,1055.0472); } /*else if (PlayerToPoint(8.0, playerid,-2080.3079,-406.0309,38.7344)) { if(IsABike2(GetPlayerVehicleID(playerid))) { new tmpcar = GetPlayerVehicleID(playerid); new vehicleid = GetPlayerVehicleID(playerid); GameTextForPlayer(playerid, "~w~Welcome to the Stunting Track", 5000, 1); //SetPlayerPos(playerid,-1464.7732,1557.5533,1052.5313); SetVehiclePos(tmpcar, -1464.7732,1557.5533,1052.5313); LinkVehicleToInterior(vehicleid, 14); SetPlayerInterior(playerid,14); //PlayerInfo[playerid][pInteriorNr] = 25; } else { SendClientMessage(playerid, COLOR_GREY, " You need a bike to enter on this arena!"); } }*/ } return 1; } }
(36506) : error 004: function "OnPlayerKeyStateChange" is not implemented
(3650) : error 017: undefined symbol "newkeys"
(36511) : error 017: undefined symbol "newkeys"
(3651) : error 017: undefined symbol "newkeys"