Доступ к архиву

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info

[error] error 001 help

Статус
В этой теме нельзя размещать новые ответы.

Gressie

Мастер
Ошибка:
Код:
error 001: expected token: "-string end-", but found "-identifier-"
сам паблик:
PHP:
public OnPlayerLogin(playerid,password[])
	{
		mysql_store_result();
		new rows, fields;
		cache_get_data(rows, fields);
		new vresult[200], float:fresult[200];
		if(rows==0)SPD(playerid,10007,DIALOG_STYLE_MSGBOX,"Ошибка!","{FF6347}Вы ввели неверный пароль!\n Осталось попыток(3)","Повтор","Выйти");
	    else if(rows==1)
		{
						cache_get_field_content(0, "Level", vresult);PlayerInfo[playerid][pLevel] = strval(vresult);
						cache_get_field_content(0, "House", vresult);PlayerInfo[playerid][pPhousekey] = strval(vresult);
						cache_get_field_content(0, "Bizz", vresult);PlayerInfo[playerid][pPbiskey] = strval(vresult);
				    	cache_get_field_content(0, "AdminLevel", vresult);PlayerInfo[playerid][pAdmin] = strval(vresult);
				    	cache_get_field_content(0, "HelperLevel", vresult);PlayerInfo[playerid][pHelper] = strval(vresult);
				    	cache_get_field_content(0, "HelperOtvet", vresult);PlayerInfo[playerid][pHelperOtvet] = strval(vresult);
				    	cache_get_field_content(0, "DonateMoney1", vresult);PlayerInfo[playerid][pDonateMoney1] = strval(vresult);
	 					cache_get_field_content(0, "Fuelcar", fresult);PlayerInfo[playerid][pFuelcar] = floatstr(fresult);
	     		    	cache_get_field_content(0, "Text", vresult);PlayerInfo[playerid][pText] = strval(vresult);
	     		    	cache_get_field_content(0, "H P", vresult);PlayerInfo[playerid][pH P] = strval(vresult);
				    	cache_get_field_content(0, "Keyip", vresult);PlayerInfo[playerid][pKeyip] = strval(vresult);
	     		    	cache_get_field_content(0, "Proverkaip", vresult);PlayerInfo[playerid][pProverkaip] = strval(vresult);
                        cache_get_field_content(0, "pGod", vresult);PlayerInfo[playerid][pGod] = strval(vresult);
						cache_get_field_content(0, "pMes", vresult);PlayerInfo[playerid][pMes] = strval(vresult);
						cache_get_field_content(0, "pDataReg", vresult);PlayerInfo[playerid][pDataReg] = strval(vresult);
				    	cache_get_field_content(0, "pVhoddata", vresult);PlayerInfo[playerid][pVhoddata] = strval(vresult);
						cache_get_field_content(0, "pVhodMes", vresult);PlayerInfo[playerid][pVhodMes] = strval(vresult);
						cache_get_field_content(0, "pVhodchas", vresult);PlayerInfo[playerid][pVhodchas] = strval(vresult);
						cache_get_field_content(0, "pVhodminute", vresult);PlayerInfo[playerid][pVhodminute] = strval(vresult);
	   					cache_get_field_content(0, "PhoneBook", vresult);PlayerInfo[playerid][pPhoneBook] = strval(vresult);
                        cache_get_field_content(0, "pDirectory", vresult);PlayerInfo[playerid][pDirectory] = strval(vresult);
                        cache_get_field_content(0, "pAlcoholPerk", vresult);PlayerInfo[playerid][pAlcoholPerk] = strval(vresult);
	     				cache_get_field_content(0, "pIp", fresult);PlayerInfo[playerid][pIp] = strval(fresult);
						cache_get_field_content(0, "pvIp", fresult);PlayerInfo[playerid][pvIp] = strval(fresult);
						cache_get_field_content(0, "pIpReg", fresult);PlayerInfo[playerid][pIpReg] = strval(fresult);
				    	cache_get_field_content(0, "Car", vresult);PlayerInfo[playerid][pCar] = strval(vresult);
				    	cache_get_field_content(0, "Donateschet", vresult);PlayerInfo[playerid][pDonatechet] = strval(vresult);
				        cache_get_field_content(0, "Donatemoney", vresult);PlayerInfo[playerid][pDonatemoney] = strval(vresult);
						cache_get_field_content(0, "DonateRank", vresult);PlayerInfo[playerid][pDonateRank] = strval(vresult);
						cache_get_field_content(0, "Registered", vresult);PlayerInfo[playerid][pReg] = strval(vresult);
				        cache_get_field_content(0, "Arrested", vresult);PlayerInfo[playerid][pArrested] = strval(vresult);
						cache_get_field_content(0, "Muted", vresult);PlayerInfo[playerid][pMuted] = strval(vresult);
						cache_get_field_content(0, "Crimes", vresult);PlayerInfo[playerid][pCrimes] = strval(vresult);
						cache_get_field_content(0, "Respect", vresult);PlayerInfo[playerid][pExp] = strval(vresult);
						cache_get_field_content(0, "Money", vresult);PlayerInfo[playerid][pCash] = strval(vresult);
						cache_get_field_content(0, "Kills", vresult);PlayerInfo[playerid][pKills] = strval(vresult);
						cache_get_field_content(0, "Deaths", vresult);PlayerInfo[playerid][pDeaths] = strval(vresult);
						cache_get_field_content(0, "Paycheck", vresult);PlayerInfo[playerid][pPayCheck] = strval(vresult);
						cache_get_field_content(0, "Jailed", vresult);PlayerInfo[playerid][pJailed] = strval(vresult);
						cache_get_field_content(0, "Cheat", vresult);PlayerInfo[playerid][pCheat] = strval(vresult);
						cache_get_field_content(0, "JailTime", vresult);PlayerInfo[playerid][pJailTime] = strval(vresult);
						cache_get_field_content(0, "Materials", vresult);PlayerInfo[playerid][pMats] = strval(vresult);
     					cache_get_field_content(0, "Drugs", vresult);PlayerInfo[playerid][pDrugs] = strval(vresult);
						cache_get_field_content(0, "Leader", vresult);PlayerInfo[playerid][pLeader] = strval(vresult);
						cache_get_field_content(0, "Member", vresult);PlayerInfo[playerid][pMember] = strval(vresult);
						cache_get_field_content(0, "Rank", vresult);PlayerInfo[playerid][pRank] = strval(vresult);
                        cache_get_field_content(0, "Job", vresult);PlayerInfo[playerid][pJob] = strval(vresult);
                        cache_get_field_content(0, "VodPrava", vresult);PlayerInfo[playerid][pVodPrava] = strval(vresult);
                        cache_get_field_content(0, "BizLic", vresult);PlayerInfo[playerid][pBizLic] = strval(vresult);
						cache_get_field_content(0, "FlyLic", vresult);PlayerInfo[playerid][pFlyLic] = strval(vresult);
						cache_get_field_content(0, "BoatLic", vresult);PlayerInfo[playerid][pBoatLic] = strval(vresult);
						cache_get_field_content(0, "FishLic", vresult);PlayerInfo[playerid][pFishLic] = strval(vresult);
						cache_get_field_content(0, "GunLic", vresult);PlayerInfo[playerid][pGunLic] = strval(vresult);
	       			    cache_get_field_content(0, "Slot1", vresult);PlayerInfo[playerid][pSlot1] = strval(vresult);
						cache_get_field_content(0, "Slot2", vresult);PlayerInfo[playerid][pSlot2] = strval(vresult);
						cache_get_field_content(0, "Slot3", vresult);PlayerInfo[playerid][pSlot3] = strval(vresult);
						cache_get_field_content(0, "Slot4", vresult);PlayerInfo[playerid][pSlot4] = strval(vresult);
						cache_get_field_content(0, "Slot5", vresult);PlayerInfo[playerid][pSlot5] = strval(vresult);
						cache_get_field_content(0, "Slot6", vresult);PlayerInfo[playerid][pSlot6] = strval(vresult);
						cache_get_field_content(0, "Slot7", vresult);PlayerInfo[playerid][pSlot7] = strval(vresult);
						cache_get_field_content(0, "Slot8", vresult);PlayerInfo[playerid][pSlot8] = strval(vresult);
						cache_get_field_content(0, "Slot9", vresult);PlayerInfo[playerid][pSlot9] = strval(vresult);
						cache_get_field_content(0, "Slot10", vresult);PlayerInfo[playerid][pSlot10] = strval(vresult);
						cache_get_field_content(0, "Slot11", vresult);PlayerInfo[playerid][pSlot11] = strval(vresult);
						cache_get_field_content(0, "Slotammo2", vresult);PlayerInfo[playerid][pSlotammo2] = strval(vresult);
						cache_get_field_content(0, "Slotammo3", vresult);PlayerInfo[playerid][pSlotammo3] = strval(vresult);
						cache_get_field_content(0, "Slotammo4", vresult);PlayerInfo[playerid][pSlotammo4] = strval(vresult);
						cache_get_field_content(0, "Slotammo5", vresult);PlayerInfo[playerid][pSlotammo5] = strval(vresult);
						cache_get_field_content(0, "Slotammo6", vresult);PlayerInfo[playerid][pSlotammo6] = strval(vresult);
						cache_get_field_content(0, "Slotammo7", vresult);PlayerInfo[playerid][pSlotammo7] = strval(vresult);
						cache_get_field_content(0, "Slotammo8", vresult);PlayerInfo[playerid][pSlotammo8] = strval(vresult);
						cache_get_field_content(0, "Slotammo9", vresult);PlayerInfo[playerid][pSlotammo9] = strval(vresult);
						cache_get_field_content(0, "Slotammo10", vresult);PlayerInfo[playerid][pSlotammo10] = strval(vresult);
		          	    cache_get_field_content(0, "Gun2" vresult);PlayerInfo[playerid][pGun2] = strval(vresult);
				        cache_get_field_content(0, "Gun3" vresult);PlayerInfo[playerid][pGun3] = strval(vresult);
				        cache_get_field_content(0, "Gun4" vresult);PlayerInfo[playerid][pGun4] = strval(vresult);
				        cache_get_field_content(0, "Gun5" vresult);PlayerInfo[playerid][pGun5] = strval(vresult);
				        cache_get_field_content(0, "Gun6" vresult);PlayerInfo[playerid][pGun6] = strval(vresult);
				        cache_get_field_content(0, "Gun7" vresult);PlayerInfo[playerid][pGun7] = strval(vresult);
				        cache_get_field_content(0, "Gun8" vresult);PlayerInfo[playerid][pGun8] = strval(vresult);
				        cache_get_field_content(0, "Gun9" vresult);PlayerInfo[playerid][pGun9] = strval(vresult);
				        cache_get_field_content(0, "Gun10" vresult);PlayerInfo[playerid][pGun10] = strval(vresult);
                        cache_get_field_content(0, "Ammo2" vresult);PlayerInfo[playerid][pAmmo2] = strval(vresult);
                        cache_get_field_content(0, "Ammo3" vresult);PlayerInfo[playerid][pAmmo3] = strval(vresult);
                        cache_get_field_content(0, "Ammo4" vresult);PlayerInfo[playerid][pAmmo4] = strval(vresult);
                        cache_get_field_content(0, "Ammo5" vresult);PlayerInfo[playerid][pAmmo5] = strval(vresult);
                        cache_get_field_content(0, "Ammo6" vresult);PlayerInfo[playerid][pAmmo6] = strval(vresult);
                        cache_get_field_content(0, "Ammo7" vresult);PlayerInfo[playerid][pAmmo7] = strval(vresult);
                        cache_get_field_content(0, "Ammo8" vresult);PlayerInfo[playerid][pAmmo8] = strval(vresult);
                        cache_get_field_content(0, "Ammo9" vresult);PlayerInfo[playerid][pAmmo9] = strval(vresult);
                        cache_get_field_content(0, "Ammo10" vresult);PlayerInfo[playerid][pAmmo10] = strval(vresult);
                        cache_get_field_content(0, "SDPistol" vresult);PlayerInfo[playerid][pSDPistol] = strval(vresult);
                        cache_get_field_content(0, "DesertEagle" vresult);PlayerInfo[playerid][pDesertEagle] = strval(vresult);
                        cache_get_field_content(0, "ShotGun" vresult);PlayerInfo[playerid][pShotGun] = strval(vresult);
                        cache_get_field_content(0, "MP5" vresult);PlayerInfo[playerid][pMP5] = strval(vresult);
                        cache_get_field_content(0, "AK47" vresult);PlayerInfo[playerid][pAK47] = strval(vresult);
                        cache_get_field_content(0, "M4" vresult);PlayerInfo[playerid][pM4] = strval(vresult);
	   			        cache_get_field_content(0, "Char", vresult);PlayerInfo[playerid][pChar] = strval(vresult);
						cache_get_field_content(0, "pSHealth", fresult);PlayerInfo[playerid][pSHealth] = floatstr(fresult);
						GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
						cache_get_field_content(0, "pHealth", fresult);PlayerInfo[playerid][pHealth] = floatstr(fresult);
						cache_get_field_content(0, "Int", vresult);PlayerInfo[playerid][pInt] = strval(vresult);
						cache_get_field_content(0, "Local", vresult);PlayerInfo[playerid][pLocal] = strval(vresult);
						cache_get_field_content(0, "Model", vresult);PlayerInfo[playerid][pModel] = strval(vresult);
						cache_get_field_content(0, "PhoneNr", vresult);PlayerInfo[playerid][pPnumber] = strval(vresult);
						cache_get_field_content(0, "PayDay", vresult);PlayerInfo[playerid][pPayDay] = strval(vresult);
						cache_get_field_content(0, "PayDayHad", vresult);PlayerInfo[playerid][pPayDayHad] = strval(vresult);
						cache_get_field_content(0, "Tutorial", vresult);PlayerInfo[playerid][pTut]= strval(vresult);
						cache_get_field_content(0, "Warnings", vresult);PlayerInfo[playerid][pWarns] = strval(vresult);
						cache_get_field_content(0, "unWarns", vresult);PlayerInfo[playerid][punWarns] = strval(vresult);
						cache_get_field_content(0, "unWarnstime", vresult);PlayerInfo[playerid][punWarnstime] = strval(vresult);
						cache_get_field_content(0, "Fuel", vresult);PlayerInfo[playerid][pFuel] = strval(vresult);
						cache_get_field_content(0, "Married", vresult);PlayerInfo[playerid][pMarried] = strval(vresult);
				        cache_get_field_content(0, "pDrugmoney", vresult);PlayerInfo[playerid][pDrugmoney] = strval(vresult);
                        cache_get_field_content(0, "pDrug", vresult);PlayerInfo[playerid][pDrug] = strval(vresult);
			        	cache_get_field_content(0, "Radio", vresult);PlayerInfo[playerid][pGrib] = strval(vresult);
						cache_get_field_content(0, "MuteTime", vresult);PlayerInfo[playerid][pMuteTime] = strval(vresult);
						cache_get_field_content(0, "Mobile", vresult);PlayerInfo[playerid][pMobile] = strval(vresult);
						cache_get_field_content(0, "Bank", vresult);PlayerInfo[playerid][pBank] = strval(vresult);
						cache_get_field_content(0, "Ban", vresult);PlayerInfo[playerid][pLocked] = strval(vresult);
						cache_get_field_content(0, "Krisha", vresult);PlayerInfo[playerid][pKrisha] = strval(vresult);
						cache_get_field_content(0, "UseKrisha", vresult);PlayerInfo[playerid][pUseKrisha] = strval(vresult);
						cache_get_field_content(0, "Dolg", vresult);PlayerInfo[playerid][pDolg] = strval(vresult);
	  					cache_get_field_content(0, "BoxSkill", vresult);PlayerInfo[playerid][pBoxSkill] = strval(vresult);
						cache_get_field_content(0, "KongfuSkill", vresult);PlayerInfo[playerid][pKongfuSkill] = strval(vresult);
						cache_get_field_content(0, "KickboxSkill", vresult);PlayerInfo[playerid][pKickboxSkill] = strval(vresult);
						cache_get_field_content(0, "pDostup", vresult);PlayerInfo[playerid][pDostup] = strval(vresult);
						cache_get_field_content(0, "Beg", vresult);PlayerInfo[playerid][pBeg] = strval(vresult);
						cache_get_field_content(0, "Rp", vresult);PlayerInfo[playerid][pRp] = strval(vresult);
						cache_get_field_content(0, "Zakonop", vresult);PlayerInfo[playerid][pZakonp] = strval(vresult);
						cache_get_field_content(0, "NarcoZavisimost", vresult);PlayerInfo[playerid][pNarcoZavisimost] = strval(vresult);
						cache_get_field_content(0, "Mats", vresult);PlayerInfo[playerid][pMats] = strval(vresult);
	        			cache_get_field_content(0, "NarcoLomka", vresult);PlayerInfo[playerid][pNarcoLomka] = strval(vresult);
	        			cache_get_field_content(0, "Proz", vresult);PlayerInfo[playerid][pProz] = strval(vresult);
	        			cache_get_field_content(0, "Колёса", vresult);PlayerInfo[playerid][pKolesocar] = strval(vresult);
	        			cache_get_field_content(0, "Покраска", vresult);PlayerInfo[playerid][pPokraska] = strval(vresult);
	        			cache_get_field_content(0, "Спойлер", vresult);PlayerInfo[playerid][pSpoiler] = strval(vresult);
	        			cache_get_field_content(0, "Передний бампер", vresult);PlayerInfo[playerid][pBamper1] = strval(vresult);
	        			cache_get_field_content(0, "Задний бампер", vresult);PlayerInfo[playerid][pBamper2] = strval(vresult);
	        			cache_get_field_content(0, "Цвет", vresult);PlayerInfo[playerid][pCvet][0] = strval(vresult);
	        			cache_get_field_content(0, "Цвет2", vresult);PlayerInfo[playerid][pCvet][1] = strval(vresult);
	        			cache_get_field_content(0, "Нитро", vresult);PlayerInfo[playerid][pNitro] = strval(vresult);
	        			cache_get_field_content(0, "Гидравлика", vresult);PlayerInfo[playerid][pGidra] = strval(vresult);
	    				cache_get_field_content(0, "pAvtomas", vresult);PlayerInfo[playerid][pAvtomas] = strval(vresult);
						cache_get_field_content(0, "pMestoJail", vresult);PlayerInfo[playerid][pMestoJail] = strval(vresult);
						cache_get_field_content(0, "Zvonok", vresult);PlayerInfo[playerid][pZvonok] = strval(vresult);
						cache_get_field_content(0, "Housecash", vresult);PlayerInfo[playerid][pHousecash] = strval(vresult);
						cache_get_field_content(0, "Voennik", vresult);PlayerInfo[playerid][pVoennik] = strval(vresult);
						cache_get_field_content(0, "Звёзды", vresult);PlayerInfo[playerid][pZvezdi] = strval(vresult);
				    	cache_get_field_content(0, "Ogran", vresult);PlayerInfo[playerid][pOgran] = strval(vresult);
			}
			mysql_free_result();


---------- Post added at 20:28 ---------- Previous post was at 18:38 ----------

Решил.
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу