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

Showing results 1 to 15 of 15
Search took 0.00 seconds.
Search: Posts Made By: massouh2004
Forum: Scripting Help 03-26-2018, 12:13
Replies: 24
Views: 3,385
Posted By massouh2004
Forum: Scripting Help 03-25-2018, 12:54
Replies: 24
Views: 3,385
Posted By massouh2004
Re: Change maxspeed to all players.

No, I don't. I'm still a newbie in pawn. Don't put the blame on me cos i'm learning.
Forum: Scripting Help 03-25-2018, 11:58
Replies: 24
Views: 3,385
Posted By massouh2004
Re: Change maxspeed to all players.

But wait, it should be "RegisterHam( Ham_Item_PreFrame, "player", "OnPreFrame", 0 );".
Forum: Scripting Help 03-25-2018, 11:55
Replies: 24
Views: 3,385
Posted By massouh2004
Re: Change maxspeed to all players.

What the fuck?! LOL I didn't noticed it, hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh sorry!
Forum: Scripting Help 03-25-2018, 07:57
Replies: 24
Views: 3,385
Posted By massouh2004
Re: Change maxspeed to all players.

Do we use the entity "0" in a HAM function? Hmmm..
Forum: Scripting Help 03-24-2018, 16:56
Replies: 24
Views: 3,385
Posted By massouh2004
Re: Change maxspeed to all players.

Natsheh, you're trying to moke me, am I wrong?
Nevermind. So, as I know, we use "pre" when the player is dead, and in marcelowzd's code, if I was right he should replace this:
RegisterHam(...
Forum: Suggestions / Requests 03-24-2018, 08:18
Replies: 6
Views: 1,054
Posted By massouh2004
Re: Reqeust Editing Hook Plugin

I can tell you how to do it, but I'll not edit the code for you:
#define is_user_admin(%1) (get_user_flags(%1) & ADMIN_IMMUNITY)
..

if(is_user_admin(id))
{ ...

It's so simple,...
Forum: Scripting Help 03-24-2018, 08:06
Replies: 24
Views: 3,385
Posted By massouh2004
Re: Change maxspeed to all players.

Change this:

RegisterHam( Ham_Item_PreFrame, "player", "OnPreFrame", 1 );

To:

RegisterHam( Ham_Item_PreFrame, "player", "OnPreFrame", 0 );
Forum: Suggestions / Requests 03-23-2018, 14:16
Replies: 18
Views: 3,246
Posted By massouh2004
Re: Hide slash messages

Thank you very much, CookieCrumbler.
Forum: Scripting Help 03-23-2018, 14:13
Replies: 24
Views: 3,385
Posted By massouh2004
Re: Change maxspeed to all players.

Is there any mistake in Natsheh's code, OciXCrom?
Forum: Scripting Help 03-22-2018, 15:25
Replies: 24
Views: 3,385
Posted By massouh2004
Re: Change maxspeed to all players.

Oh! OK, then. Thanks for your help, Natsheh. :)
Forum: Suggestions / Requests 03-22-2018, 14:00
Replies: 18
Views: 3,246
Posted By massouh2004
Re: Hide slash messages

Please explaine to me why you used this code and by what we should name it?

if ( whatever == something )
{
Forum: Scripting Help 03-22-2018, 13:31
Replies: 24
Views: 3,385
Posted By massouh2004
Re: Change maxspeed to all players.

Thanks for your reply, Natsheh. I'm wondering why you used "CSW_P228", without any other weapons type. The thing I understand from what you wanted to do in your code is using "CSW_P228" as a mediator...
Forum: Scripting Help 03-22-2018, 09:08
Replies: 24
Views: 3,385
Posted By massouh2004
Re: Change maxspeed to all players.

OK. Then give me an example to convert my idea into a Pawn code, OciXCrom.
Forum: Scripting Help 03-21-2018, 17:40
Replies: 24
Views: 3,385
Posted By massouh2004
Change maxspeed to all players.

Hi,

I didn't test my code, but... I just wanted to know if it's a good way to set maxspeed to players permanently.

Thanks.

#include <amxmodx>
#include <fun>

public client_connect(id) {
Showing results 1 to 15 of 15

 
Forum Jump

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


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