View Single Post
Old 14/08/2012, 04:57 PM   #1
Deal-or-die
Huge Clucker
 
Deal-or-die's Avatar
 
Join Date: Oct 2010
Location: An Island 1000's of miles away
Posts: 366
Reputation: 22
Default A few errors I cannot see what I have done wrong. - Dialogs and Dialogs I guess...

It's Late, I can't think nor see straight and planning on going to bed once I sort this out... :P Ideas?

These are the errors
pawn Code:
(5000) : error 027: invalid character constant
(5000) : error 017: undefined symbol "d"
(5000) : warning 215: expression has no effect
(5000) : error 001: expected token: ";", but found "-identifier-"
(5000) : fatal error 107: too many error messages on one line

This is my script
pawn Code:
(4984)                  case 166: //How many rooms?
(4985)                  {
(4986)                  if(!response) return ShowPlayerDialog(playerid, 160, DIALOG_STYLE_LIST, "House Creation Menu", "","Continue","Close");
(4987)                  if(response)
(4988)                  {
(4989)                  new rooms;
(4990)                          sscanf(inputtext, "d", rooms);
(4991)                          if(rooms < 1 || rooms > MAX_ROOMS)
(4992)                          {
(4993)                              format(string, sizeof(string), "Please select a value of rooms between 1 and %d", MAX_ROOMS);
(4994)                          SendClientMessage(playerid, -1, string);
(4995)                          }
(4996)                          else
(4997)                          {
(4998)                          format(string, sizeof(string), "You selected %d Rooms", rooms);
(4999)                  SendClientMessage(playerid, -1, string);
(5000)                  House[playerid][hRooms] == '%d', inputtext);
(5001)                  return 1;
(5002)                          }
(5003)              }
(5004)          }
__________________
/////////////////////////// | Mini Moot | \\\\\\\\\\\\\\\\\\\\\\\\\\\

"I'm in the country that basically invented the Internet, and your getting faster speeds on an island 1,000miles away"

Last edited by Deal-or-die; 14/08/2012 at 05:33 PM.
Deal-or-die is offline   Reply With Quote