Jump to content
  • 0

help on this source


PewN

Question


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

i have a problem how can i fix it cuz i add this on @item . even my account_id is 2000001 i can't use it any solution?


if ( sd->status.account_id != 2000001 || sd->status.account_id != 2000002)
{
clif_displaymessage(fd, msg_txt(709));
return 0;
}

thx

Edited by TrojanWorm
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

if ( sd->status.account_id != 2000001 && sd->status.account_id != 2000002)

your account ID cant be 2000001 and 2000002 at the same time...that why you cant use OR Operator in the condition checking..

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

ah ok thx im gonna try this

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...