Код:
if(dialogid == 5)
{
if(response)
{
if(listitem == 0)
{
MoveObject(B1 ,-697.88769531,-3568.97070312,0.00000000,2);
MoveObject(B2,-694.64443970,-3561.41992188,33.23248291,2);
MoveObject(B3,-805.79000854,-3568.92333984,-4.42800045,2);
MoveObject(B4,-786.33386230,-3575.40869141,5.24705648,2);
MoveObject(B5,-786.31842041,-3575.39184570,8.61911297,2);
MoveObject(B6,-786.33386230,-3569.18530273,5.24705648,2);
MoveObject(B7,-786.33386230,-3562.83178711,5.24705648,2);
MoveObject(B8,-786.32363892,-3569.09814453,8.61911297,2);
MoveObject(B9,-786.32153320,-3562.78466797,8.61911297,2);
MoveObject(B10,-797.02465820,-3568.99707031,4.45133686,2);
MoveObject(B11,-754.65765381,-3584.12988281,11.22999954,2);
MoveObject(B12,-675.38681030,-3554.92309570,7.38874054,2);
MoveObject(B13,-664.56451416,-3583.01025391,7.38208389,2);
MoveObject(B14,-706.01553345,-3581.89990234,6.23688221,2);
MoveObject(B15,-687.38775635,-3566.90112305,13.28375721,2);
MoveObject(B16,-692.00000000,-3561.39990234,33.08935165,2);
MoveObject(B17,-665.29589844,-3563.82910156,15.30611420,2);
}
if(listitem == 1)
{
StopObject(B1);
StopObject(B2);
StopObject(B3);
StopObject(B4);
StopObject(B5);
StopObject(B6);
StopObject(B7);
StopObject(B8);
StopObject(B9);
StopObject(B10);
StopObject(B11);
StopObject(B12);
StopObject(B13);
StopObject(B14);
StopObject(B15);
StopObject(B16);
StopObject(B17);
}
if(listitem == 2)
{
MoveObject(B10, X, Y, Z+10);
}
if(listitem == 3)
{
StopObject(B10);
}
}
return 1;
}
? i get a warning and in game i am trying out and then doesn't works warning: E:\Gta SA + Sa-mp\samp03csvr_R2-2_win32\gamemodes\new3.pwn(2399) : warning 202: number of arguments does not match definition