D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1573) : error 001: expected token: "*then", but found ")" D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1573) : error 029: invalid expression, assumed zero D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1590) : warning 225: unreachable code D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1597) : warning 217: loose indentation D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1623) : warning 217: loose indentation D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1623) : error 029: invalid expression, assumed zero D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1623) : error 004: function "OnPlayerClickPlayer" is not implemented D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1628) : warning 225: unreachable code D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1628) : error 029: invalid expression, assumed zero D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1628) : error 004: function "robc" is not implemented D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1634) : error 029: invalid expression, assumed zero D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1634) : error 004: function "wantedT" is not implemented D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1641) : error 029: invalid expression, assumed zero D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1641) : error 004: function "meat" is not implemented D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1650) : error 029: invalid expression, assumed zero D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1650) : error 004: function "GolfTurfT" is not implemented D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1657) : error 029: invalid expression, assumed zero D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1657) : error 004: function "PipeTurfT" is not implemented D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1665) : error 029: invalid expression, assumed zero D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1665) : error 004: function "MotelVTurfT" is not implemented D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1679) : error 030: compound statement not closed at the end of file (started at line 1514) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 17 Errors.
if(dialogid == DIALOG_SELL)
{
if(response) // Button 1
{
if listitem == 0)
{
if(MeatRob[playerid] == 1)
{
GetPlayerMoney(playerid);
GivePlayerMoney(playerid, 3000);
SendClientMessage(playerid, Green, "You sold meet, you got 3000$!");
MeatRob[playerid]=1;
}
else
{
SendClientMessage(playerid, Green, "You don't have any meat to sell");
}
return 1;
}
if(listitem == 1)
{
SendClientMessage(playerid, Green, "Should display the third altenative (Commands)");
}
return 1;
}
if listitem == 0)
GetPlayerMoney(playerid);
1)
pawn Code:
pawn Code:
|
if listitem == 0)
if(listitem == 0)
D:\Davids\Scripting\Server Las Venturas\LV.pwn(1573) : error 001: expected token: "*then", but found ")"
D:\Davids\Scripting\Server Las Venturas\LV.pwn(1573) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas\LV.pwn(1573 -- 1575) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas\LV.pwn(1573 -- 1575) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
{ //1572
if listitem == 0)
{
if(MeatRob[playerid] == 1) //1576
if(listitem == 0) // ..
if(dialogid == DIALOG_SELL)
{
if(response) // Button 1
{
if(listitem == 0)
{
if(MeatRob[playerid] == 1)
{
GetPlayerMoney(playerid);
GivePlayerMoney(playerid, 3000);
SendClientMessage(playerid, Green, "You sold meet, you got 3000$!");
MeatRob[playerid]=1;
}
else
{
SendClientMessage(playerid, Green, "You don't have any meat to sell");
}
return 1;
}
if(listitem == 1)
{
SendClientMessage(playerid, Green, "Should display the third altenative (Commands)");
}
return 1;
}
Just this:
pawn Code:
|
if(listitem==0) // 1572
pawn Код:
pawn Код:
|
if(listitem == 0)
if(dialogid == DIALOG_SELL)
{
if(response) // Button 1
{
if(listitem == 0)
{
if(MeatRob[playerid] == 1)
{
GetPlayerMoney(playerid);
GivePlayerMoney(playerid, 3000);
SendClientMessage(playerid, Green, "You sold meet, you got 3000$!");
MeatRob[playerid]=1;
}
else
{
SendClientMessage(playerid, Green, "You don't have any meat to sell");
}
return 1;
}
if(listitem == 1)
{
SendClientMessage(playerid, Green, "Should display the third altenative (Commands)");
}
return 1;
}
} // Do you close this?
if listitem == 0)
if(listitem == 0)
if(dialogid == DIALOG_SELL)
{
if(response) // Button 1
{
if(listitem == 0)
{
if(MeatRob[playerid] == 1)
{
GetPlayerMoney(playerid);
GivePlayerMoney(playerid, 3000);
SendClientMessage(playerid, Green, "You sold meet, you got 3000$!");
MeatRob[playerid]=1;
}
else
{
SendClientMessage(playerid, Green, "You don't have any meat to sell");
}
return 1;
}
if(listitem == 1)
{
SendClientMessage(playerid, Green, "Should display the third altenative (Commands)");
}
return 1;
}
} // you forgot that one
CHANGE.
pawn Код:
pawn Код:
pawn Код:
|
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1589) : warning 217: loose indentation
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1596) : warning 217: loose indentation
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1622) : warning 217: loose indentation
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1622) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1622) : error 004: function "OnPlayerClickPlayer" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1627) : warning 225: unreachable code
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1627) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1627) : error 004: function "robc" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1633) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1633) : error 004: function "wantedT" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1640) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1640) : error 004: function "meat" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1649) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1649) : error 004: function "GolfTurfT" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1656) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1656) : error 004: function "PipeTurfT" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1664) : error 029: invalid expression, assumed zero
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1664) : error 004: function "MotelVTurfT" is not implemented
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(1678) : error 030: compound statement not closed at the end of file (started at line 1514)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
15 Errors.
if(listitem == 0)
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
// code
return 0;
} // < you forgot it.
If you can show use all of OnDialogResponse(...) callback, It's would be nice nah?
|
}
else
{
SendClientMessage(playerid, Green, "You don't have any meat to sell");
}
return 1;
}
if(listitem == 1)
{
SendClientMessage(playerid, Green, "Should display the third altenative (Commands)");
}
return 1;
}
else
{
SendClientMessage(playerid, Green, "You don't have any meat to sell");
}
return 1;
}
if(listitem == 1)
{
SendClientMessage(playerid, Green, "Should display the third altenative (Commands)");
}
return 1;
}