Jump to content

Question

3 answers to this question

Recommended Posts

  • 0
Posted

you can create a global variable with the index of the guild id

like

OnMonsterDead:
	if(getcharid(2) && $GLOBALGUILDQUEST[getcharid(2)]){
		$GLOBALGUILDQUESTCOUNT[getcharid(2)]++;
	}
end;

//$GLOBALGUILDQUEST is a variable true or falce to check if the guild have the quest or not , normally just set it to true when they take the quest and false when they are done

//$GLOBALGUILDQUESTCOUNT is variable for the kill count in this case

and you can check for the count too

  • 0
Posted
On 6/22/2019 at 2:12 AM, sader1992 said:

you can create a global variable with the index of the guild id

like

OnMonsterDead:
	if(getcharid(2) && $GLOBALGUILDQUEST[getcharid(2)]){
		$GLOBALGUILDQUESTCOUNT[getcharid(2)]++;
	}
end;

//$GLOBALGUILDQUEST is a variable true or falce to check if the guild have the quest or not , normally just set it to true when they take the quest and false when they are done

//$GLOBALGUILDQUESTCOUNT is variable for the kill count in this case

and you can check for the count too

how to delete points or sql table $GLOBALGUILDQUESTCOUNT and $GLOBALGUILDQUEST if player has /breakguild

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...