Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 25 of 426
Search took 0.01 seconds.
Search: Posts Made By: Leon M.
Forum: Scripting Help 05-27-2013, 07:05
Replies: 26
Views: 9,561
Posted By Leon M.
Re: Slowhack?

If you need to change some settings in order to get a gameplay as intended why you would refuse it? If you dislike the gameplay well then why are you playing on such a server?

However I dislike...
Forum: Scripting Help 05-13-2013, 04:51
Replies: 37
Views: 5,722
Posted By Leon M.
Re: Get Players Money at Disconnect throws error

It seems you mixed something. What is the suppose of your plugin?

I guess you want to store players money on disconnect to give them the amount of money back on a (re)connect. So the wrong part...
Forum: Scripting Help 05-06-2013, 19:45
Replies: 37
Views: 5,722
Posted By Leon M.
Re: Get Players Money at Disconnect throws error

It depends on his save feature. If he is using any vault database then the storage should be fast enough to store properly. If he is using a threaded sql query then you are right :)
Forum: Scripting Help 05-06-2013, 19:40
Replies: 10
Views: 3,498
Posted By Leon M.
Re: Detect DMG_FALL Death

Yeah, i think he want to detect just a death caused by fall damage without modifying the damage itself. But it would be good if op gives a lil bit more detailed information about its purpose. :)
Forum: Scripting Help 05-06-2013, 15:46
Replies: 10
Views: 3,498
Posted By Leon M.
Re: Detect DMG_FALL Death

You wouldn't need to check this on POST since the damage can still be modified ???
Forum: Scripting Help 05-06-2013, 13:02
Replies: 31
Views: 5,709
Posted By Leon M.
Re: Get kill weapon

He is not using get_user_Weapon() anymore. He is using get_weaponid() like hornet suggested.

Just saying :)
Forum: Scripting Help 05-06-2013, 12:56
Replies: 37
Views: 5,722
Posted By Leon M.
Re: Get Players Money at Disconnect throws error

Although I love to see that someone agrees to my statement (... finally ^^) I hope you just did it for testing purpose. You should really receive the money through the "money" event and save it into...
Forum: Scripting Help 05-06-2013, 00:22
Replies: 37
Views: 5,722
Posted By Leon M.
Re: Get Players Money at Disconnect throws error

A lil' bit offtopic since you got your solution with the money event but maybe you are interested why this is happening.


As you stated it occurs sometimes and not all the time. We had recently a...
Forum: Scripting Help 05-04-2013, 12:50
Replies: 5
Views: 1,065
Posted By Leon M.
Re: Possible to start/stop other plugins?

If you want to unpause some plugins it could be possible that you have to restart/change the map. Some plugins are not working properly after they unpaused.
Forum: Scripting Help 05-02-2013, 15:46
Replies: 8
Views: 3,927
Posted By Leon M.
Re: Get Players Current Weapon?

If so then he got already the answer.
Forum: Scripting Help 04-30-2013, 11:02
Replies: 29
Views: 5,139
Posted By Leon M.
Re: charmax & sizeof

@hleV
I do it like you for globals :)

@backstabnoob
Trolls will be ignored! Well from now on.
Forum: Scripting Help 04-29-2013, 18:54
Replies: 29
Views: 5,139
Posted By Leon M.
@backstabnoob Not against everyone, just...

@backstabnoob
Not against everyone, just against you because you didn't read previous posts. You should read them accordingly. Nobody can help you if won't do it. ... without scrolling back and...
Forum: Scripting Help 04-29-2013, 00:19
Replies: 29
Views: 5,139
Posted By Leon M.
Re: charmax & sizeof

I didn't said I hardcode everything (there is a high dynamic ml message system by me). You will find hardcoded things in any engine/code or whatever because it makes no sense on certain points. Some...
Forum: Scripting Help 04-28-2013, 16:24
Replies: 29
Views: 5,139
Posted By Leon M.
Re: charmax & sizeof

A smart coder thinks earlier about it, changed once a variable and that was a quick edit. Well, only if you know what are you doing, so I guess its better to use charsmax :D

But that sounds...
Forum: Zombie Plague Mod 04-28-2013, 00:58
Replies: 2
API Scripting Help Heal Per Second (task)
Views: 1,105
Posted By Leon M.
Re: Heal Per Second (task)

Isn't better to use it on drop command or something like that? Because fwd_CmdStart is flooding like hell.

Anyways if you want to keep it with fwd_CmdStart, you should change
if (button &...
Forum: Scripting Help 04-28-2013, 00:46
Replies: 29
Views: 5,139
Posted By Leon M.
Re: charmax & sizeof

I never use charsmax for known array sizes anyways. More readable for me since you always get remembered how long the string can be :)
Forum: Scripting Help 04-28-2013, 00:39
Replies: 4
Views: 935
Posted By Leon M.
Re: Model skin count

Open the model and take a look at the bodies and skins. So you need to pre-define them in your sma file manually.

Default body/skin for your used model is 0.
Forum: Scripting Help 04-26-2013, 16:11
Replies: 15
Views: 3,576
Posted By Leon M.
Re: SuperKnife Damage

Haha, yeah it looked strange but I didn't get it as I wrote it :D

Sorry. ^^
Forum: Scripting Help 04-26-2013, 05:09
Replies: 15
Views: 3,576
Posted By Leon M.
Re: SuperKnife Damage

public fw_TakeDamage( iVictim, iInflictor, iAttacker, Float:fDamage,iDMGBits ) {
// Damage done by a grenade, C4 or any other delayed action
if (iInflictor != iAttacker) return...
Forum: Scripting Help 04-22-2013, 04:51
Replies: 6
Views: 1,090
Posted By Leon M.
Re: map in browser

you can't even change the game name anymore since the latest cs updates.
Forum: Scripting Help 04-22-2013, 00:44
Replies: 6
Views: 1,090
Posted By Leon M.
Re: map in browser

impossible
Forum: Scripting Help 04-22-2013, 00:34
Replies: 6
Views: 1,722
Posted By Leon M.
Re: hudmessage display

charsmax is an additional call, so its better to use straight away 31 if you know the array size :p

BUT you don't need to format your text, edited my example. No additional stuff, only g_SpecDay...
Forum: Scripting Help 04-22-2013, 00:28
Replies: 10
Views: 2,514
Posted By Leon M.
Re: Infiniti ammo

it works just fine but below part of your code looks shitty
case 6: { if(get_user_flags(id) & ADMIN_LEVEL_H) if(money >= costunlimitedammo) { ...
Forum: Scripting Help 04-21-2013, 16:36
Replies: 2
Views: 822
Posted By Leon M.
Re: optimising plugins

v1 is mor optimised, thats correct.

you dont need to store the team if you just need it in the switch

switch(g_SpecDay){
case 3: return PLUGIN_HANDLED
case 4: if...
Forum: Scripting Help 04-21-2013, 14:26
Replies: 9
Views: 1,632
Posted By Leon M.
Re: help with grenades + kevlar + deagle

What's the problem?

I've posted a link with an answer you can easily edit by yourself and Connor has given you a full example based on pdatas.
Showing results 1 to 25 of 426

 
Forum Jump

All times are GMT -4. The time now is 14:39.


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