11.02.2010, 17:05
pawn Код:
if(dialogid == 2)
{
if(response)
{
if(!strcmp(inputtext,"2598",true))
{
FadeColorForPlayer(playerid,0,0,0,0,0,0,0,255,15,0);
SetTimerEx("HotelRoom2598", 2000, 0, "i", playerid);
}
if(!strcmp(inputtext,"exit",true))
{
FadeColorForPlayer(playerid,0,0,0,0,0,0,0,255,15,0);
SetTimerEx("HotelRoom2598Ex", 2000, 0, "i", playerid);
}
}
else
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Rooms","Heres a list of rooms in the hotel \nRoom 2598 - En' Suite","Close","");
}
return 1;
}
Код:
C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(34) : warning 217: loose indentation C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(36) : warning 217: loose indentation C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(39) : warning 217: loose indentation C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(39) : error 029: invalid expression, assumed zero C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(39) : error 004: function "OnDialogResponse" is not implemented C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(41) : error 017: undefined symbol "dialogid" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(43) : error 017: undefined symbol "response" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(52) : error 017: undefined symbol "dialogid" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(54) : error 017: undefined symbol "response" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(56) : error 017: undefined symbol "inputtext" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(61) : error 017: undefined symbol "inputtext" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(76) : warning 225: unreachable code C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(76) : error 029: invalid expression, assumed zero C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(76) : error 017: undefined symbol "HotelRoom2598" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(77) : error 029: invalid expression, assumed zero C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(77) : error 017: undefined symbol "HotelRoom2598" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(85) : error 029: invalid expression, assumed zero C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(85) : error 017: undefined symbol "HotelRoom2598Text" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(86) : error 029: invalid expression, assumed zero C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(86) : error 017: undefined symbol "HotelRoom2598Text" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(91) : error 029: invalid expression, assumed zero C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(91) : error 017: undefined symbol "HotelRoom2598Ex" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(92) : error 029: invalid expression, assumed zero C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(92) : error 017: undefined symbol "HotelRoom2598Ex" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(100) : error 029: invalid expression, assumed zero C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(100) : error 017: undefined symbol "HotelRoom2598TextEx" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(101) : error 029: invalid expression, assumed zero C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(101) : error 017: undefined symbol "HotelRoom2598TextEx" C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(106) : error 029: invalid expression, assumed zero C:\Users\Torran\Documents\Server Stuff\Main\Filterscripts\hotel.pwn(106) : error 004: function "OnPlayerConnect" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.