16.03.2013, 12:11
(
Последний раз редактировалось dusk; 17.03.2013 в 20:31.
)
Full eror:
script:
pawn Код:
[14:34:30] *** YSI Error: Format specifier didn't match on inline function R1:..@Ia@Ib@Ib@Ib@Ib@Ib@Ic:iiiis
pawn Код:
if(!strcmp(tmp,"ratai",true,5))
{
if(vehicleid==400||401|402||405||409||410|411||415||419||420||421||422||426||429||439||445||451||458||466||467||474||475||477||478||479||480||489||492||496||505||506||507||516||517||518||526||527||529||533||540||541||542||545||546||547||549||550||551||555||575||579||580||585||587||589||600||602||603)
{
new Ratas;
inline R1(playerid1,dialogid1,response1,listitem1,string:inputtext1[])
{
#pragma unused playerid1,dialogid1,inputtext1
if(response1)
{
switch(listitem1)
{
case 0:{Ratas=1085;}
case 1:{Ratas=1077;}
case 2:{Ratas=1079;}
case 3:{Ratas=1083;}
case 4:{Ratas=1081;}
case 5:{Ratas=1082;}
case 6:{Ratas=1074;}
case 7:{Ratas=1075;}
case 8:{Ratas=1073;}
case 9:{Ratas=1080;}
case 10:{Ratas=1076;}
case 11:{Ratas=1084;}
case 12:{Ratas=1078;}
}
TogglePlayerControllable(playerid,0);
WheelTimer = SetTimerEx("wheelTimer",60000,false,"ddd",playerid,vehicleid,Ratas);
}
}
Dialog_ShowCallback(playerid,using inline R1,DIALOG_STYLE_LIST,"Ratai","Atomic\nClassic\nCutter\nDollar\nGrove\nImport\nMega\nRimshine\nShadow\nSwitch\nWires\nTrance\nTwist","Pasirinkti","Atsaukti");
}
}