30.01.2015, 19:39
Код:
E:\A-FR 2015\gamemodes\JUDY-2015.pwn(9746) : error 035: argument type mismatch (argument 2) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
if(!strcmp(cmdtext, "/evimegit",true) || !strcmp(cmdtext, "/gotomyhouse",true)){ if(PlayerInfoEv[playerid][evsayisi] == 0)return SendClientMessage(playerid,"En fazla 1 ev satın alabilirsiniz."); new gitev = -1; for(new i; i<MAX_HOUSE;i++){ if(EvSahipID[i] == playerid){gitev = i;break;} } if(gitev == -1)return 1; if(EvBilgi[gitev][evint] == 0) PlayerPos(playerid,2324.3735,-1148.8219,1050.7101,12,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 1) PlayerPos(playerid,225.756989 ,1240.000000 ,1082.149902 ,2,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 2) PlayerPos(playerid,222.9848,1287.5624,1082.1406 ,1,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 3) PlayerPos(playerid,225.630997,1022.479980,1084.069946,7,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 4) PlayerPos(playerid,295.2057,1472.9973,1080.2578,15,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 5) PlayerPos(playerid,327.9004,1478.2839,1084.4375,15,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 6) PlayerPos(playerid,385.803986,1471.769897,1080.209961,15,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 7) PlayerPos(playerid,2255.0129,-1139.9670,1050.6328,9,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 8) PlayerPos(playerid,2269.3037,-1210.4395,1047.5625,10,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 9) PlayerPos(playerid,2496.0330,-1692.9246,1014.7422,3,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 10) PlayerPos(playerid, 1299.14 , -794.77 , 1084.00 ,5,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 11) PlayerPos(playerid,2259.8408,-1135.7609,1050.6328,10,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 12) PlayerPos(playerid,2365.2190,-1135.1531,1050.8750,8,EvBilgi[gitev][evworld]); else if(EvBilgi[gitev][evint] == 13) PlayerPos(playerid,2324.3735,-1148.8219,1050.7101,12,EvBilgi[gitev][evworld]); OyuncuEv[playerid] = gitev; return 1; }