Raised This Month: $ Target: $400
 0% 

Showing results 1 to 10 of 10
Search took 0.00 seconds.
Search: Posts Made By: limeassist
Forum: Scripting Help 04-01-2009, 17:19
Replies: 18
Views: 3,092
Posted By limeassist
Re: [menu]need help with custom menu

Problem solved.


new cmd[32], iName[64]
new access, callback; //tempvar, unused
menu_item_getinfo(menu, item, access, cmd,2, iName, 63, callback); //store selected player id in cmd
...
Forum: Scripting Help 04-01-2009, 12:22
Replies: 18
Views: 3,092
Posted By limeassist
Re: [menu]need help with custom menu

ANY help on previous post please.
Forum: Scripting Help 03-30-2009, 08:11
Replies: 18
Views: 3,092
Posted By limeassist
Re: [menu]need help with custom menu

Thanx the menu works. But the function i call doesnt trigger player to take snapshot:


#include <amxmodx>
#include <amxmisc>

new g_players; //amount of player slots on your server
new const...
Forum: Scripting Help 03-25-2009, 12:44
Replies: 18
Views: 3,092
Posted By limeassist
Re: [menu]need help with custom menu

Ok I think this will be correct:

playerss(selectedplayerid, level, cid);

Here is *.sma file maybe i did smthing wrong. if u would be so kind to look it though...
Forum: Scripting Help 03-25-2009, 12:28
Replies: 18
Views: 3,092
Posted By limeassist
Re: [menu]need help with custom menu

Sorry for bugging with my low knowledge in coding.

But after compiling and running thisplugin on server, when i call snapmenu

it creates a menu with 49 player entries
and with only my name in...
Forum: Scripting Help 03-25-2009, 11:04
Replies: 18
Views: 3,092
Posted By limeassist
Re: [menu]need help with custom menu

public clcmd_admin_snapshot_menu(id)
{
new snapmenu = menu_create("Snapshot player:","snap_handle")
new string[1];

for (new i = 1; i <= g_players; i++)

if...
Forum: Scripting Help 03-25-2009, 10:39
Replies: 18
Views: 3,092
Posted By limeassist
Re: [menu]need help with custom menu

thnx for helping me out.

i got 1 error during compilation:



public clcmd_admin_snapshot_menu(id)
{
new snapmenu = menu_create("Snapshot player:","snap_handle")
Forum: Scripting Help 03-25-2009, 09:49
Replies: 18
Views: 3,092
Posted By limeassist
Re: [menu]need help with custom menu

how do i call such menu from console?

And what functions should i declare :



new snapmenu = menu_create("Snapshot player:","snap_handle")

for (new i = 1; i <= g_players; i++)
if...
Forum: Scripting Help 03-25-2009, 08:02
Replies: 18
Views: 3,092
Posted By limeassist
[menu]need help with custom menu

Greetings to all coders. I need help with some basic scripting.

I Have a plugin that has two console commands:

- record POV demo of a player

- makes a player take a snapshot.


I would...
Forum: Scripting Help 12-18-2008, 06:40
Replies: 1
Views: 793
Posted By limeassist
Need help in scripting (basic stuff)

First of all, hello there to everyone. This my first post here on AM.


I've decided to make a custom plugin for my servers, so that my admins could make people record demos and take screenshots....
Showing results 1 to 10 of 10

 
Forum Jump

All times are GMT -4. The time now is 08:55.


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