Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 36
Search took 0.00 seconds.
Search: Posts Made By: Merko
Forum: Scripting Help 04-11-2008, 12:27
Replies: 5
Views: 1,486
Posted By Merko
Re: Setting speed

Hehe, im not AMX scripting SO much, so it takes time. I'm really busy with alot of diffrent things really, but yeah, im getting there! :p
Forum: Scripting Help 04-10-2008, 18:00
Replies: 5
Views: 1,486
Posted By Merko
Re: Setting speed

Im not sure if this is a good way or not, but the way I do it is CurWeapon.

Example:
in plugin_init

register_event("CurWeapon", "event_CurWeapon", "be", "1=1")

and

public...
Forum: Code Snippets/Tutorials 04-05-2008, 09:50
Replies: 292
Views: 156,464
Posted By Merko
Re: New XP Mod tutorial

Nah, he asked for some help regarding the tutorial, and got answer here. Good with everything on one place too incase more people use this tutorial they got some usefull answers :)
Forum: Code Snippets/Tutorials 04-02-2008, 04:29
Replies: 292
Views: 156,464
Posted By Merko
Re: New XP Mod tutorial

In the on_spawn() event I got this:


if (PlayerClass[id] == CLASS_NONE) // IF the class is NONE THEN..
{
ChangeClass(id) // ..Open the ChangeClass Menu.
}


Edit: Oh by the way, this...
Forum: Code Snippets/Tutorials 04-01-2008, 00:29
Replies: 292
Views: 156,464
Posted By Merko
Re: New XP Mod tutorial

Hehe.

Thanks for the offer, but I gotta say no :( same as you, im beginner and I started my own "project" just for practice. Atleast we can help each other ;)

Would also recommand taking backup...
Forum: Code Snippets/Tutorials 03-31-2008, 03:20
Replies: 292
Views: 156,464
Posted By Merko
Re: New XP Mod tutorial

Hello.

I made this event in the plugin_init()

register_event("ResetHUD","on_spawn","be"); // When the player spawns


And then made a function:

// Example
Forum: Scripting Help 03-31-2008, 00:11
Replies: 4
Views: 1,410
Posted By Merko
Re: Uh Whats wrong here? Saying one thing 2x times.

Well half of your code didnt work (from the switch(team)) so I used used mine instead :p
Forum: Code Snippets/Tutorials 03-30-2008, 23:25
Replies: 292
Views: 156,464
Posted By Merko
Re: New XP Mod tutorial

Hello.

As for your second Question no, they wont get their bonus for each level if they are like level 90+

However, if you wanna do that one time (lets say they can buy an item that adds 25...
Forum: Code Snippets/Tutorials 03-30-2008, 12:33
Replies: 292
Views: 156,464
Posted By Merko
Re: New XP Mod tutorial

Well I started AMXX Scripting two days ago and this was my second tutorial. I got most of it to work.

HexD:
If you wanna give yourself somthing for each level and class you can do something like...
Forum: Code Snippets/Tutorials 03-30-2008, 07:02
Replies: 292
Views: 156,464
Posted By Merko
Re: New XP Mod tutorial

Oh right ;).

Well I fixed it myself too hehe. :)
Forum: Scripting Help 03-30-2008, 05:34
Replies: 8
Views: 1,976
Posted By Merko
Re: Countdown

set_task(1.0, "countdown", id,_,_,"b");


"1.0" means 1 second. Change that to "10.0" will be 10 second. "5.5" will be 5 and a half second. :)
Forum: Scripting Help 03-30-2008, 04:58
Replies: 8
Views: 1,976
Posted By Merko
Re: Countdown

Hello

Try search the forum before you post a thread. Alot of Answers to your question.

http://forums.alliedmods.net/showthread.php?t=68111&highlight=countdown
Forum: Scripting Help 03-30-2008, 02:34
Replies: 4
Views: 1,410
Posted By Merko
Re: Uh Whats wrong here? Saying one thing 2x times.

Well, now it says

"Ultimate Used. You now look like your enemy!" 2x times :|


Edit:

Ok, now I feel really stupid.
I had 2x: register_clcmd("ultimate", "cmd_fakeskin") ... :p my first code...
Forum: Scripting Help 03-30-2008, 00:43
Replies: 6
Views: 1,400
Posted By Merko
Re: How to stop\end a function..

Oh yeah. I kinda know, but the code wasnt suppose to be that big anyway.. Thanks :)
Forum: Scripting Help 03-30-2008, 00:41
Replies: 4
Views: 1,410
Posted By Merko
Uh Whats wrong here? Saying one thing 2x times.

Hello.

I'm trying a Camouflage script I found on this forum.
Everything work as it should, just 1 thing that is a lil buggy.

When you use "ultimate" you change your skin to T or CT, deppends...
Forum: Scripting Help 03-30-2008, 00:31
Replies: 6
Views: 1,400
Posted By Merko
Re: How to stop\end a function..

Ah right. Thanks alot : )
Forum: Scripting Help 03-30-2008, 00:20
Replies: 6
Views: 1,400
Posted By Merko
Re: How to stop\end a function..

Lol, talk about fast reply huh? ;)

So. "Return" ends the function?

so if I understood this correctly its supposed to be somthing like this:

public my_functon()
{
if (mything = true)
{
Forum: Scripting Help 03-30-2008, 00:16
Replies: 6
Views: 1,400
Posted By Merko
How to stop\end a function..

Hello.

Since im new here, and new to amx it could be handy to know to stop\end a function.

Lets say I have this

public my_functon()
{
if (mything = true)
{
Forum: Scripting Help 03-29-2008, 20:54
Replies: 2
Views: 986
Posted By Merko
Re: Setting a max_runspeed..

Uh, no. But guess you can figure out what I want.. :)

Thanks X-olent, exactly what I was looking for :)

+k
Forum: Scripting Help 03-29-2008, 20:31
Replies: 2
Views: 986
Posted By Merko
Setting a max_runspeed..

Hello.

I use this code to set the max speed of a player:
set_user_maxspeed(id, 250.0)

But when you change weapon the speed is set back to normal. Is there any easy fix for this to make him...
Forum: Scripting Help 03-29-2008, 08:08
Replies: 4
Views: 1,618
Posted By Merko
Re: Display Text at the buttom of screen..

Heya. And how do I use that? Could you give em an example? Im fairly new to amxx scripting. Started 2 days ago ;)

Didnt find anything here either.. http://www.amxmodx.org/doc/index.html

Edit:...
Forum: Scripting Help 03-29-2008, 07:22
Replies: 4
Views: 1,618
Posted By Merko
Re: Display Text at the buttom of screen..

Because I don't wanna use hud_message O_o..
Forum: Scripting Help 03-29-2008, 06:36
Replies: 4
Views: 1,618
Posted By Merko
Display Text at the buttom of screen..

Hello.

I tried search a litlebit, but didn't find what I wanted, so here we go! :)

So I want to display some text at the bottom of my screen.

It seems I cant use client_chat or client_center...
Forum: Scripting Help 03-28-2008, 22:33
Replies: 12
Views: 2,588
Posted By Merko
Re: A little "if" problem to my upcoming mod..:P

Yeah. I modified my code abit and it works now.

Did as you said. Using delay to give me the items I need : ) Thanks for help.
Forum: Scripting Help 03-28-2008, 15:29
Replies: 12
Views: 2,588
Posted By Merko
Re: A little "if" problem to my upcoming mod..:P

Hello.

I don't have any problems giving my self hp, or the ammo.

The problem is that I spawn with 40x Famas. so If I dropp my current weapon. I have another one..means I can dropp famas like 40...
Showing results 1 to 25 of 36

 
Forum Jump

All times are GMT -4. The time now is 13:50.


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