Raised This Month: $ Target: $400
 0% 

Showing results 1 to 15 of 15
Search took 0.00 seconds.
Search: Posts Made By: iloverain
Forum: Scripting Help 06-26-2012, 22:48
Replies: 16
Views: 2,374
Posted By iloverain
Re: How come this menu won't pop up?

I didn't know it was hard to add #include <amxmodx> and the rest, So I didn't do it for you. basically was the whole code. Anyway, it works fine now with players in here. Thanks for the help,...
Forum: Scripting Help 06-25-2012, 22:39
Replies: 16
Views: 2,374
Posted By iloverain
Re: How come this menu won't pop up?

I've been testing mostly by myself. I thought the menu should still pop-up even if there's no terrorists? I will try as soon as my friend comes online. Thanks. I'll edit this post if it works fine...
Forum: Scripting Help 06-25-2012, 20:28
Replies: 16
Views: 2,374
Posted By iloverain
Re: How come this menu won't pop up?

First off it is the whole code. Want me to put it together for you?
Here.
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>...
Forum: Scripting Help 06-25-2012, 19:19
Replies: 16
Views: 2,374
Posted By iloverain
Re: How come this menu won't pop up?

Heres the code;

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd ( "say /hpp", "GetH" )
register_clcmd ( "say_team /hpp", "GetH" )
}

public...
Forum: Scripting Help 06-25-2012, 15:52
Replies: 16
Views: 2,374
Posted By iloverain
How come this menu won't pop up?

Well... I have a menu that will get the players alive, team, and skip bots. the team = terrorists. It will give health to terrorists to who ever you select.

public HMenu(id) {
new menu =...
Forum: Scripting Help 06-23-2012, 21:25
Replies: 11
Views: 1,543
Posted By iloverain
Re: Call a function in a function ?

FAIL. I made a spelling mistake that's all.... @above I'll also keep that in mind. Thanks all who helped. I really appreciate it.
Forum: Scripting Help 06-23-2012, 21:08
Replies: 11
Views: 1,543
Posted By iloverain
Re: Call a function in a function ?

Lmao!! I actually didn't think of that at all. I'm pretty sure that worked. But my menu won't pop up? Is there something wrong with my menu?
Forum: Scripting Help 06-23-2012, 20:48
Replies: 11
Views: 1,543
Posted By iloverain
Re: Call a function in a function ?

Noo. I want /simon to call the SetSimon function. But I also want /simon to open the EMenu at the same time.

or do you mean change the "SetSimon" To "EMenu" to open 2 EMenu's? 1 menu and 1 the...
Forum: Scripting Help 06-23-2012, 20:40
Replies: 11
Views: 1,543
Posted By iloverain
Re: Call a function in a function ?

Ok done. I edited my post above. I didn't realize you needed it. Lawl.
Forum: Scripting Help 06-23-2012, 20:36
Replies: 11
Views: 1,543
Posted By iloverain
Re: Call a function in a function ?

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

register_clcmd ( "say /simon", "SetSimon" )
register_clcmd ( "say_team /simon", "SetSimon" )
...
Forum: Scripting Help 06-23-2012, 20:23
Replies: 11
Views: 1,543
Posted By iloverain
Call a function in a function ?

I'm back... already. Lmfao.

So I'm trying to open a menu inside a function. So the ct types /simon and it would open a menu. but there's already a function for /simon. so how would I make it when...
Forum: Scripting Help 06-23-2012, 16:11
Replies: 10
Views: 3,840
Posted By iloverain
Re: get_user_name ?

oh ok thanks. ^ i also figured out how to make it back to false if it was true after round end. so I'm done for now! Thanks all :P
Forum: Scripting Help 06-23-2012, 15:47
Replies: 10
Views: 3,840
Posted By iloverain
Re: get_user_name ?

@above Perfect! Thanks so much! I appreciate your help all!

I changed the bool to new bool:isSimon=false which worked perfectly.
I used the user name method Waleed suggested which worked...
Forum: Scripting Help 06-23-2012, 15:04
Replies: 10
Views: 3,840
Posted By iloverain
Re: get_user_name ?

Thank you guys for taking the time to answer. I really apreciate it. I understand now :)

edit;
Ok so I made this plugin but there are some errors:

Error: Invalid function or declaration on...
Forum: Scripting Help 06-23-2012, 14:49
Replies: 10
Views: 3,840
Posted By iloverain
get_user_name ?

Hi all! I'm trying to get a users name. So I looked at the get_user_name function.
I saw someone post:

new name[18]
get_user_name (http://www.amxmodx.org/funcwiki.php?go=func&id=165)(id, name,...
Showing results 1 to 15 of 15

 
Forum Jump

All times are GMT -4. The time now is 06:09.


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