04.09.2013, 17:02
(
Last edited by davve95; 04/09/2013 at 06:37 PM.
)
Hi!
I moved some things in a dialog just under to
the response in the dialog instead, but it gave me a lot of errors...
Before it just were the 2 first error lines but it got worse when
I tired to fix it xD..
Have tired to find the issue for pretty long now, but couldn't find...
Code:
Edit: Picture added in Attachments (So you have a clue how it looks)...
It changes a bit when you paste the code here.
And also good for the numbers on the right side...
I moved some things in a dialog just under to
the response in the dialog instead, but it gave me a lot of errors...
Code:
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.
I tired to fix it xD..
Have tired to find the issue for pretty long now, but couldn't find...
Code:
pawn Code:
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;
}
Edit: Picture added in Attachments (So you have a clue how it looks)...
It changes a bit when you paste the code here.
And also good for the numbers on the right side...