Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 76
Search took 0.00 seconds.
Search: Posts Made By: sinisuba
Forum: Scripting Help 02-05-2017, 12:54
Replies: 4
Views: 732
Posted By sinisuba
Forum: Scripting Help 02-05-2017, 12:13
Replies: 4
Views: 732
Posted By sinisuba
Stop players from re-joining team

EDIT: Solved




When a player switches team, he can do it again forever. I want him to switch team and can't re-join again (in that same round).

public submenu_handler( id, menu, item )
{...
Forum: Scripting Help 12-04-2016, 13:25
Replies: 23
Views: 4,468
Posted By sinisuba
Re: How to teleport user?

What Natsheh said is okay too, I can do it with user origins. But I've read that using user origin won't teleport the user through walls.
Forum: Scripting Help 12-04-2016, 12:47
Replies: 8
Views: 1,587
Posted By sinisuba
Re: [SOLVED] How to repeat set_task every 10 seconds?

Thanks for the link, it'll be useful
Forum: Scripting Help 12-04-2016, 06:27
Replies: 23
Views: 4,468
Posted By sinisuba
How to teleport user?

So I have a /tp command, how could I teleport a user forward for a few meters? I've read some threads that say teleporting through walls, etc. isn't possible.
My question is: is it possible to...
Forum: Scripting Help 12-03-2016, 19:42
Replies: 8
Views: 1,587
Posted By sinisuba
[SOLVED] How to repeat set_task every 10 seconds?

It's giving me undefined symbol "b" if I try to repeat it every 10 seconds. (10.0, "regeneration", id, b)

set_task(10.0, "regeneration", id)

Solved
->

set_task(10.0, "regeneration", id, _,...
Forum: Scripting Help 12-03-2016, 11:32
Replies: 5
Views: 982
Posted By sinisuba
Re: Combining ZP /donate & JB Gang Points

Well I'd obviously like someone to do this. I'm new to combining/merging :P
Forum: Scripting Help 12-03-2016, 11:30
Replies: 5
Views: 982
Posted By sinisuba
Combining ZP /donate & JB Gang Points

So I want to combine Zombie Plague's /donate (https://forums.alliedmods.net/showpost.php?p=1128281&postcount=13?p=1128281&postcount=13) with JailBreak Gang System's points...
Forum: Scripting Help 12-03-2016, 08:48
Replies: 11
Views: 2,536
Posted By sinisuba
Re: cs_set_user_team not working.

Ty ocix.
The last thing I'm doing is auto-assigning the player that joins to TTs. :)

Edit: all done. Thanks everyone
Forum: Scripting Help 12-03-2016, 08:05
Replies: 11
Views: 2,536
Posted By sinisuba
Re: cs_set_user_team not working.

Edit: I'm dumb as f...
it does change my team, but I forgot to add user_kill.

Thanks guys.

Btw, when they press M it opens the menu + the normal pick Counter-Terrorist & Terrorist menu.
How...
Forum: Scripting Help 12-03-2016, 07:49
Replies: 11
Views: 2,536
Posted By sinisuba
Re: cs_set_user_team not working.

Still can't get the team change to work.
Forum: Scripting Help 12-02-2016, 20:20
Replies: 11
Views: 2,536
Posted By sinisuba
Re: cs_set_user_team not working.

I know how to indent, just didn't want to bother until I got the code working. Will see if it works now.

Edit: still doesn't work, it's likely that some other plugins are interfering (even though...
Forum: Scripting Help 12-02-2016, 19:54
Replies: 11
Views: 2,536
Posted By sinisuba
Re: cs_set_user_team not working.

Doesn't seem to be working, probably my bad on another part.
by the way, how can I disable the choose team from appearing when user presses M? I want it to show the menu, not the choose team part...
Forum: Scripting Help 12-02-2016, 17:43
Replies: 11
Views: 2,536
Posted By sinisuba
cs_set_user_team not working.

Trying to create a submenu with options to choose between TT and CT. It doesn't work, why?

public submenu_handler( id, menu, item )
{
switch( item )
{
case 0:
{
...
Forum: Scripting Help 12-02-2016, 12:39
Replies: 4
Views: 869
Posted By sinisuba
Re: How to add more options to this menu?

Those cases are for teams... i need one for general menu. I'll try doing it from scratch myself, no problems.
Forum: Scripting Help 12-02-2016, 07:48
Replies: 4
Views: 869
Posted By sinisuba
Re: How to add more options to this menu?

The thing is - I don't have any cases, so I'll have to edit quite some stuff.

Thanks though.
Forum: Scripting Help 12-02-2016, 05:32
Replies: 4
Views: 869
Posted By sinisuba
How to add more options to this menu?

Right now this menu only has a "choose team" option, when you press M it opens between "choose TT/CT". I want to add more.

Example:
1. Pick team
2. blabla
3. blabla

#include <amxmodx>...
Forum: Scripting Help 12-01-2016, 13:13
Replies: 4
Views: 739
Posted By sinisuba
Forum: Scripting Help 11-30-2016, 12:48
Replies: 4
Views: 739
Posted By sinisuba
Re: Choose Team problem

Didn't notice the block, was too tired last night.
ty crax, solved
Forum: Scripting Help 11-29-2016, 18:55
Replies: 4
Views: 739
Posted By sinisuba
Choose Team problem

The problem is that if the user presses 0, it puts them in Spectators. Also, if they press M and don't pick anything for a few seconds it puts them in spec again. I want this to be disabled, so if...
Forum: Scripting Help 11-29-2016, 14:51
Replies: 4
Views: 891
Posted By sinisuba
Re: user_kill with set_task not working

fixed ty peeps much love
Forum: Scripting Help 11-29-2016, 14:32
Replies: 4
Views: 891
Posted By sinisuba
Re: user_kill with set_task not working

if(is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_CT)

it's there. is that what you meant?
Forum: Scripting Help 11-29-2016, 14:22
Replies: 4
Views: 891
Posted By sinisuba
user_kill with set_task not working

set_task(5.0, "ctslay")

This is supposed to execute "ctslay" after 5 seconds after called. It doesn't work, I tried:

public ctslay(id) {
dllfunc(DLLFunc_ClientKill, id)
}
...
Forum: Scripting Help 11-28-2016, 16:56
Replies: 6
Views: 1,204
Posted By sinisuba
Re: HUD message error

I can't provide the plugin's code since I don't have the source file, but why do you need it at all?

It just uses "CODE CODE CODE, %L, "JBEF_TEAM_MENU", CODE CODE CODE"
Forum: Scripting Help 11-28-2016, 15:26
Replies: 6
Views: 1,204
Posted By sinisuba
Re: HUD message error

my server has a lang file, and in that lang file there's JBEF_TEAM_MENU - everything other message is good except this one, only shows Balans 1 instead of the whole thing.
Showing results 1 to 25 of 76

 
Forum Jump

All times are GMT -4. The time now is 18:10.


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