AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Addon: Questions & Answers v1.0 (https://forums.alliedmods.net/showthread.php?t=159427)

Excalibur.007 06-17-2011 00:17

[ZP] Addon: Questions & Answers v1.0
 
1 Attachment(s)
Description:
It's similar to some TV game shows. They ask you a question and you proceed on to a new level. Just that this only have to answer 1 and you get the reward.

Modules/Includes:
PHP Code:

#include <amxmodx>
#include <zombieplague> 

Version History:
PHP Code:

v1.0 Initial Release 

CVars:
PHP Code:

zp_qna_duration "30.0" Time before question ends

Commands:
PHP Code:

/setquestion Admin command
/qna Player command 

Note: Commands DOES NOT need parameters. It uses messagemode.

Customizations:
PHP Code:

Line 4:
#define ADMIN_FLAG    ADMIN_BAN 

List of admin flags (Taken from AMXModX Funcwiki)
PHP Code:

ADMIN_RESERVATION 
ADMIN_IMMUNITY 
ADMIN_KICK 
ADMIN_BAN 
ADMIN_SLAY 
ADMIN_MAP 
ADMIN_CVAR 
ADMIN_CFG 
ADMIN_CHAT 
ADMIN_VOTE 
ADMIN_PASSWORD 
ADMIN_RCON 
ADMIN_LEVEL_A 
ADMIN_LEVEL_B 
ADMIN_LEVEL_C 
ADMIN_LEVEL_D 
ADMIN_LEVEL_E 
ADMIN_LEVEL_F 
ADMIN_LEVEL_G 
ADMIN_LEVEL_H 

FAQs:
Q. The question directly ends just right after I set the ammo packs.
A. It uses messagemode. You got to restart the round so that the commands register into your server successfully.

Notes to Server Admins:
- Questions is allowed to have spaces.
- Make sure your answers doesn't have spaces as it would be difficult for players to get it correct.

Credits:
- Me

albert123 06-17-2011 10:08

Re: [ZP] Addon: Questions & Answers v1.0
 
What's going on if i set question: " What is my father's name ?" or " What is my girlfriend's name" ? xD ?

I think no one can beat this question :D

Excalibur.007 06-17-2011 11:14

Re: [ZP] Addon: Questions & Answers v1.0
 
It will depend on the server admin. Whether to abuse it or play it clean :3.

georgik57 06-17-2011 12:05

Re: [ZP] Addon: Questions & Answers v1.0
 
you mean trivia
you should better rename it to that
too long name
what else?...good job

Dolph_Ziggler 06-17-2011 14:06

Re: [ZP] Addon: Questions & Answers v1.0
 
nice :D

Excalibur.007 06-17-2011 21:06

Re: [ZP] Addon: Questions & Answers v1.0
 
Quote:

Originally Posted by georgik57 (Post 1490113)
you mean trivia
you should better rename it to that
too long name
what else?...good job

Didn't want to make it for people who have poor english(no offense) to not understand that though.

pewex 06-18-2011 06:51

Re: [ZP] Addon: Questions & Answers v1.0
 
Is there a file in which you type questions which will appear in say

georgik57 06-18-2011 18:54

Re: [ZP] Addon: Questions & Answers v1.0
 
Quote:

Originally Posted by Excalibur.007 (Post 1490442)
Didn't want to make it for people who have poor english(no offense) to not understand that though.

doesn't everybody know about trivia?

Excalibur.007 06-18-2011 19:22

Re: [ZP] Addon: Questions & Answers v1.0
 
Quote:

Originally Posted by pewex (Post 1490645)
Is there a file in which you type questions which will appear in say

No.

/setquestion.

Then a line in top left will appear. It's something like this

SetQuestion:

afterwards

SetAnswer:

then

SetAmmoPacks:

albert123 06-19-2011 04:43

Re: [ZP] Addon: Questions & Answers v1.0
 
Quote:

Originally Posted by Excalibur.007 (Post 1490442)
Didn't want to make it for people who have poor english(no offense) to not understand that though.

Oh, it's not problem :D. Because i can write a question with Vietnamese language in VietNamese server.


All times are GMT -4. The time now is 16:20.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.