error 035: argument type mismatch (argument 2)
#7

ERROR:
(40709) : error 035: argument type mismatch (argument 2)
(40710) : error 035: argument type mismatch (argument 2)
(40711) : error 035: argument type mismatch (argument 2)


CODE:
Код:
PlayerInfo[playerid][pBankPIN] = cache_get_row_int(0,4,handle);
PlayerInfo[playerid][pBankMoney]      = cache_get_row_int(0, 5, handle);
PlayerInfo[playerid][pBankAccount]    = cache_get_row_int(0, 6, handle);
PlayerInfo[playerid][pLotteryTicket]  = cache_get_row_int(0, 7, handle);
PlayerInfo[playerid][pWinner]         = cache_get_row_int(0, 8, handle);
PlayerInfo[playerid][pBriefcase]      = cache_get_row_int(0, 9, handle);
gatekey[playerid]   				  = cache_get_row_int(0, 10, handle);
gatekey2[playerid]           		  = cache_get_row_int(0, 11, handle);
gatekey3[playerid]         			  = cache_get_row_int(0, 12, handle);
gatekey4[playerid]    				  = cache_get_row_int(0, 13, handle);
gatekey5[playerid]        			  = cache_get_row_int(0, 14, handle);
gatekey6[playerid]         			  = cache_get_row_int(0, 15, handle);
gatekey7[playerid]        		 	  = cache_get_row_int(0, 16, handle);
gatekey8[playerid]       			  = cache_get_row_int(0, 17, handle);
gatekey9[playerid]   				  = cache_get_row_int(0, 18, handle);
gatekey10[playerid]           		  = cache_get_row_int(0, 19, handle);
GarageKey[playerid]       			  = cache_get_row_int(0, 20, handle);
HouseKey[playerid]     				  = cache_get_row_int(0, 21, handle);
PlayerInfo[playerid][pGiftBoxes]      = cache_get_row_int(0, 22, handle);
gifttimer[playerid]					  = cache_get_row_int(0, 23, handle);
PlayerInfo[playerid][pSecurityClearance] = cache_get_row_int(0, 24, handle);
PlayerInfo[playerid][pRedLaser]       = cache_get_row_int(0, 25, handle);
PlayerInfo[playerid][pGreenLaser]     = cache_get_row_int(0, 26, handle);
PlayerInfo[playerid][pOrangeLaser]    = cache_get_row_int(0, 27, handle);
PlayerInfo[playerid][pPinkLaser]      = cache_get_row_int(0, 28, handle);
PlayerInfo[playerid][pYellowLaser]    = cache_get_row_int(0, 29, handle);
PlayerInfo[playerid][pBlueLaser]      = cache_get_row_int(0, 30, handle);
pistol_skill[playerid]        		  = cache_get_row_int(0, 31, handle);
sdpistol_skill[playerid]       	      = cache_get_row_int(0, 32, handle);
deagle_skill[playerid]   			  = cache_get_row_int(0, 33, handle);
shotgun_skill[playerid]           	  = cache_get_row_int(0, 34, handle);
sawnoff_skill[playerid]       	      = cache_get_row_int(0, 35, handle);
spas12_skill[playerid]     		      = cache_get_row_int(0, 36, handle);
micro_skill[playerid]      			  = cache_get_row_int(0, 37, handle);
mp5_skill[playerid]       			  = cache_get_row_int(0, 38, handle);
ak47_skill[playerid]       			  = cache_get_row_int(0, 39, handle);
m4_skill[playerid]   				  = cache_get_row_int(0, 40, handle);
PlayerInfo[playerid][pDev]            = cache_get_row_int(0, 41, handle);
PlayerInfo[playerid][pLevel]       	  = cache_get_row_int(0, 42, handle);
PlayerInfo[playerid][pAdmin]     	  = cache_get_row_int(0, 43, handle);
PlayerInfo[playerid][pSecKey]    	  = cache_get_row_int(0, 37, handle);
PlayerInfo[playerid][pStealthed]      = cache_get_row_int(0, 38, handle);
PlayerInfo[playerid][pPermBand]       = cache_get_row_int(0, 39, handle);
//Error PlayerInfo[playerid][pBanReason]   	  = cache_get_field_content(0, 40, handle);
//Error PlayerInfo[playerid][pPrisonReason]   = cache_get_field_content(0, 41, handle);
//Error PlayerInfo[playerid][pPrisonedBy]     = cache_get_field_content(0, 42, handle);
PlayerInfo[playerid][pAdminJailed]	  = cache_get_row_int(0, 43, handle);
PlayerInfo[playerid][pWarns]            = cache_get_row_int(0, 44, handle);
PlayerInfo[playerid][pDisabled]       	  = cache_get_row_int(0, 45, handle);
PlayerInfo[playerid][pDonateRank]     	  = cache_get_row_int(0, 46, handle);
PlayerInfo[playerid][pJoinDate][1]	  = cache_get_row_int(0, 47, handle);
PlayerInfo[playerid][pExpireDate][1]      = cache_get_row_int(0, 48, handle);
PlayerInfo[playerid][pJoinDate][2]       = cache_get_row_int(0, 49, handle);
PlayerInfo[playerid][pExpireDate][2] = cache_get_row_int(0, 50, handle);
PlayerInfo[playerid][pBanAppealer]      = cache_get_row_int(0, 51, handle);
PlayerInfo[playerid][pGangMod]            = cache_get_row_int(0, 52, handle);
PlayerInfo[playerid][pFactionMod]       	  = cache_get_row_int(0, 53, handle);
PlayerInfo[playerid][pGangDirector]     	  = cache_get_row_int(0, 54, handle);
Get New Problem.How to fix it?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)