D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(333) : error 014: invalid statement; not in switch D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(333) : warning 215: expression has no effect D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(333) : error 001: expected token: ";", but found ":" D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(333) : error 029: invalid expression, assumed zero D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(333) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
case 0: //Estб й a linha (333)
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == ALUGUE)
{
if(response)
{
case 0:
if(GePlayerMoney(playerid) < 370) return SendClientMessage(playerid,COLOR_AZULCLARO,"| HOTEL | Vocк nгo tem R$370 para alugar!");
if(GetPVarInt(playerid,"Sono") >= 75) return SendClientMessage(playerid,COLOR_AZULCLARO,"| SONO | Vocк nгo esta com sono!");
SetPlayerPos(playerid, 2246.4041,-1164.5934,1030.4943);
SetPlayerPos(playerid, 2252.9849,-1158.8644,1030.4410);
SetPlayerPos(playerid, 2236.0242,-1154.6893,1030.4943);
SetPlayerPos(playerid, 2229.6047,-1160.9651,1030.4410);
SetPlayerPos(playerid, 2235.9683,-1165.5596,1030.4943);
SetPlayerPos(playerid, 2230.5610,-1183.3994,1030.5249);
SetPlayerPos(playerid, 2224.5496,-1176.9550,1030.4384);
SetPlayerPos(playerid, 2204.6062,-1193.9602,1030.5249);
SetPlayerPos(playerid, 2210.6392,-1200.2861,1030.4384);
SetPlayerPos(playerid, 2230.8987,-1183.3547,1030.5249);
SetPlayerPos(playerid, 2224.0601,-1176.9796,1030.4384);
SetPlayerPos(playerid, 2198.2258,-1178.0868,1030.4943);
SetPlayerPos(playerid, 2204.8206,-1171.5645,1030.4410);
SetPlayerPos(playerid, 2187.9077,-1151.9406,1030.4943);
SetPlayerPos(playerid, 2181.5906,-1158.4785,1030.4410);
SetPlayerPos(playerid, 2217.3391,-1146.4551,1025.7969);
SendClientMessage(playerid,COLOR_AZULCLARO, "| HOTEL | Vб para a cama e digite --> /Durmir");
GivePlayerMoney(playerid, -370);
}
else
{
SendClientMessage(playerid,COLOR_AZULCLARO, "| HOTEL | Vocк optou por nгo alugar.");
}
}
return 0;
}
case 0:
case 0:
switch(listitem)
{
case 0:
{
}
}
case 0:
case 0:
case 0:
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(338) : warning 217: loose indentation
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(338) : error 017: undefined symbol "GePlayerMoney"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(364) : warning 209: function "OnDialogResponse" should return a value
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(365) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(368) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(370) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(371) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(373) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(375) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(376) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(381) : error 021: symbol already defined: "SetProgressBarValue"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(381) : error 017: undefined symbol "playerid"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(381) : error 021: symbol already defined: "UpdateProgressBar"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(381 -- 382) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
12 Errors.
//CODIGO
if(dialogid == ALUGUE)
{
if(response, listitem)
switch(listitem)
{
case 0:
{
}
}
case 0:
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(336) : warning 217: loose indentation
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(336) : error 017: undefined symbol "GePlayerMoney"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(357) : warning 209: function "OnDialogResponse" should return a value
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(358) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(363) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(366) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(368) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(369) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(371) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(373) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(374) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(379) : error 021: symbol already defined: "SetProgressBarValue"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(379) : error 017: undefined symbol "playerid"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(379) : error 021: symbol already defined: "UpdateProgressBar"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(379 -- 380) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
13 Errors.
//CODIGO
if(dialogid == ALUGUE)
{
if(response, listitem)
switch(listitem)
{
}
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(response)
{
case ALUGUE:
{
if(!response)
return SendClientMessage(playerid,COLOR_AZULCLARO, "| HOTEL | Vocк optou por nгo alugar.");
if(GePlayerMoney(playerid) < 370)
return SendClientMessage(playerid,COLOR_AZULCLARO,"| HOTEL | Vocк nгo tem R$370 para alugar!");
if(GetPVarInt(playerid,"Sono") >= 75)
return SendClientMessage(playerid,COLOR_AZULCLARO,"| SONO | Vocк nгo esta com sono!");
SetPlayerPos(playerid, 2246.4041,-1164.5934,1030.4943);
SetPlayerPos(playerid, 2252.9849,-1158.8644,1030.4410);
SetPlayerPos(playerid, 2236.0242,-1154.6893,1030.4943);
SetPlayerPos(playerid, 2229.6047,-1160.9651,1030.4410);
SetPlayerPos(playerid, 2235.9683,-1165.5596,1030.4943);
SetPlayerPos(playerid, 2230.5610,-1183.3994,1030.5249);
SetPlayerPos(playerid, 2224.5496,-1176.9550,1030.4384);
SetPlayerPos(playerid, 2204.6062,-1193.9602,1030.5249);
SetPlayerPos(playerid, 2210.6392,-1200.2861,1030.4384);
SetPlayerPos(playerid, 2230.8987,-1183.3547,1030.5249);
SetPlayerPos(playerid, 2224.0601,-1176.9796,1030.4384);
SetPlayerPos(playerid, 2198.2258,-1178.0868,1030.4943);
SetPlayerPos(playerid, 2204.8206,-1171.5645,1030.4410);
SetPlayerPos(playerid, 2187.9077,-1151.9406,1030.4943);
SetPlayerPos(playerid, 2181.5906,-1158.4785,1030.4410);
SetPlayerPos(playerid, 2217.3391,-1146.4551,1025.7969);
SendClientMessage(playerid,COLOR_AZULCLARO, "| HOTEL | Vб para a cama e digite --> /Durmir");
GivePlayerMoney(playerid, -370);
}
}
return 0;
}
pawn Code:
|
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(335) : error 017: undefined symbol "GePlayerMoney" D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(363) : error 010: invalid function or declaration D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(365) : error 010: invalid function or declaration D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(366) : error 010: invalid function or declaration D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(36 : error 010: invalid function or declaration D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(370) : error 010: invalid function or declaration D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(371) : error 010: invalid function or declaration D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(376) : error 021: symbol already defined: "SetProgressBarValue" D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(376) : error 017: undefined symbol "playerid" D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(376) : error 021: symbol already defined: "UpdateProgressBar" D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(376 -- 377) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 11 Errors. |