Even if you dont type anything..
#7

Quote:
Originally Posted by Torran
Heres my code:

pawn Код:
if(response)
    {
  switch(dialogid)
  {
        case 1:
    {
       if(!strcmp(inputtext,"2598",true))
       {
       SendClientMessage(playerid,0xFFFFFFFF,"You are being taken to \"Room 2598 - En' Suite\"");
       FadeColorForPlayer(playerid,0,0,0,0,0,0,0,255,15,0);
       SetPlayerInterior(playerid,12);
       SetPlayerPos(playerid,2324.33, -1144.79, 1050.71);
       FadeColorForPlayer(playerid,0,0,0,0,255,255,255,255,15,0);
       }
       else if(!inputtext[0])return SendClientMessage(playerid,0xFFFFFFFF,"You didn't type in a room number");
       else (response == 0)
       {
       SendClientMessage(playerid,0x8F8F8FFF,"Rooms");
       return 1;
            }
        }
    }
}
Something like this i think or you can give it a different order its up to you
Reply


Messages In This Thread
Even if you dont type anything.. - by Torran - 10.02.2010, 22:14
Re: Even if you dont type anything.. - by Joe Staff - 10.02.2010, 22:29
Re: Even if you dont type anything.. - by Torran - 10.02.2010, 22:41
Re: Even if you dont type anything.. - by Torran - 10.02.2010, 22:54
Re: Even if you dont type anything.. - by Onyx09 - 10.02.2010, 22:59
Re: Even if you dont type anything.. - by Torran - 10.02.2010, 23:05
Re: Even if you dont type anything.. - by Onyx09 - 10.02.2010, 23:09
Re: Even if you dont type anything.. - by Torran - 10.02.2010, 23:11
Re: Even if you dont type anything.. - by Joe Staff - 10.02.2010, 23:15
Re: Even if you dont type anything.. - by Torran - 10.02.2010, 23:17

Forum Jump:


Users browsing this thread: 1 Guest(s)