Jump to content
  • 0

Check emblem


luizinhomt

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  88
  • Reputation:   1
  • Joined:  01/05/13
  • Last Seen:  

Does anyone know the code to check if a guild has an emblem? I want to release a map only for guilds with emblems

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  896
  • Reputation:   117
  • Joined:  05/23/12
  • Last Seen:  

U can get the players guild id. Then check the guild on SQL and check if the blob data is setted or null.

 

Rynbef~

Edited by Rynbef
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  88
  • Reputation:   1
  • Joined:  01/05/13
  • Last Seen:  

@Rynbef First, thank you very much for responding, could you show an example of how I can do this?

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  896
  • Reputation:   117
  • Joined:  05/23/12
  • Last Seen:  

@luizinhomt Something like this function

 

CheckEmblem.txt

 

Just call the function and u will get the return.

-1 = char is in no guild

0 = guild emblem isn't set

1 = guild emblem is set

 

Rynbef~

Edited by Rynbef
  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  88
  • Reputation:   1
  • Joined:  01/05/13
  • Last Seen:  

@Rynbef Thank you very much for the base script

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...