06.01.2011, 14:21
(
Последний раз редактировалось bartje01; 06.01.2011 в 15:28.
)
Hey guys.
Why doesn't this work?
The line that doesn't have effect is this:
I'm feeling a bit ill at the moment so my brains aren't at 100%
Please help
Why doesn't this work?
pawn Код:
switch(dialogid)
{
case 1226:
{
if(!response)
{
SendClientMessage(playerid, 0xFF0000FF, "You cancelled.");
return 1;
}
switch(listitem)
{
case 0:
{
new tuners = 562||565||559||560||558||561;
if(GetVehicleModel(vehicleid) == tuners)
{
ShowPlayerDialog(playerid,1240,DIALOG_STYLE_LIST,"Spoilers","Spoiler Pro\nSpoiler Win\nSpoiler Drag\nSpoiler Alpha\nSpoiler Race\nSpoiler Worx","Ok", "Cancel");
}
else
{
SendClientMessage(playerid,COLOR_DARKORANGE,"You have to be in a Tuner");
}
}
pawn Код:
if(GetVehicleModel(vehicleid) == 562||565||559||560||558||561)
Please help