[FilterScript] SAMP-BANS Example Filterscript
#61

Quote:
Originally Posted by ProShooter22
Посмотреть сообщение
hey when i ban someone it just says -server closed the coonection it should say the player and players why they banned? and other stuff?
That's the 0.3x bug, I prefer you to make a DelayedKick. You may search it around the forums. I don't exactly know where it is.
Reply
#62

Quote:
Originally Posted by MarcObeles20
Посмотреть сообщение
That's the 0.3x bug, I prefer you to make a DelayedKick. You may search it around the forums. I don't exactly know where it is.
First of all. That's not a bug.
Second yeah create a delayed kick.

Marc.

Kick just blocks the message from being sent.
I guess Kalcor added something in Kick.
Reply
#63

Hmmmm nice
Reply
#64

Quote:
Originally Posted by MarcObeles20
View Post
Exactly, that's what I said. I believe Kalcor won't do such a thing to bug this.
so i should add delay kick for this how to do it
Reply
#65

Quote:
Originally Posted by ProShooter22
View Post
so i should add delay kick for this how to do it
If you meant to kick anyone, use a timer to delay it.
Here's an example:

pawn Code:
new LoggedIn[MAX_PLAYERS];
public OnPlayerSpawn(playerid)
{
 if(LoggedIn[playerid] != 1)) return SetTimerEx("KICK", 500, false, "d", playerid);
 return 1;
}

forward KICK(playerid);

public KICK(playerid)
{
 Kick(playerid);
 return 1;
}

//Or if you want a function which performs as kick function (with delay)

stock L_Kick(playerid)
{
 SetTimerEx("KICK", 500, false, "d", playerid); //Performs a kick after 500ms.
 return 1;
}
Not tested but I guess it works.


OT: Seems pretty nice.
Reply
#66

download link dosent work.
Reply
#67

2 post
Reply
#68

He isn't exactly going to fix it.
Reply
#69

it works good
Reply
#70

it seems it closed down :
test : samp-bans.com

Forbidden

You don't have permission to access / on this server.
Reply
#71

link isa dead
Reply
#72

Quote:
Originally Posted by FatherTr
View Post
link isa dead
No dip Sherlock.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)