SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 29/05/2018, 12:13 PM   #1271
SeanDenZYR
Big Clucker
 
Join Date: May 2016
Location: Philippines!!
Posts: 169
Reputation: 20
Default Re: Useful Snippets

Chat Cleaner:
Code:
CMD:chatcleaner(playerid, params[])
{
    for(new i = 0; i < 250; i++)
    {
        SendClientMessage(playerid, -1, " ");
    }
    return 1;
}
SeanDenZYR is offline   Reply With Quote
Old 09/06/2018, 04:11 PM   #1272
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,491
Reputation: 268
Default Re: Useful Snippets

PHP Code:
/*
    A very simple help system to help show the usage and importance of iterator/ foreach
    along with the new dialog styles added in 0.3.7

    This is just taken out of, one of my Call of Duty scripts.

    - Logic_
*/ 
Link: https://raw.githubusercontent.com/Al...aster/help.pwn
__________________
Premium quality and reasonable pricing game Server hosting
Logic_ is offline   Reply With Quote
Old 10/06/2018, 07:27 AM   #1273
Logic_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: 666
Posts: 1,491
Reputation: 268
Default Re: Useful Snippets


Team Fortress 2: Payload

PHP Code:
/*
    Documentation
    -------------
    Mode name: Payload
    Author: Logic_ (eXpose)
    Script Type: Gamemode

    A very simple implementation of TF2's Payload mode in SA-MP, originally was planned for a server which was later cancelled.
*/ 
Link: https://github.com/AliLogic/Payload-SAMP/tree/master



Gun Game: SA-MP

PHP Code:
/* 
    Documentation 
    ------------- 
    Mode name: Gun Game 
    Author: Logic_ (eXpose) 
    Script Type: Gamemode 

    A very simple implementation of CS:GO's Gun Game mode in SA-MP, originally was planned for a server which was later cancelled. 
*/ 
LINK: https://github.com/AliLogic/Gun-Game-SAMP

Last edited by Logic_; 10/06/2018 at 06:00 PM.
Logic_ is offline   Reply With Quote
Old 16/06/2018, 08:09 PM   #1274
Lokii
Huge Clucker
 
Join Date: Sep 2017
Posts: 282
Reputation: 72
Default Re: Useful Snippets

Simple Lotto: Source
Lokii is online now   Reply With Quote
Old 16/06/2018, 08:34 PM   #1275
cuber
Gangsta
 
cuber's Avatar
 
Join Date: Oct 2016
Location: KS.
Posts: 767
Reputation: 137
Default Re: Useful Snippets

Quote:
Originally Posted by SeanDenZYR View Post
Chat Cleaner:
Code:
CMD:chatcleaner(playerid, params[])
{
    for(new i = 0; i < 250; i++)
    {
        SendClientMessage(playerid, -1, " ");
    }
    return 1;
}
Code:
stock ClearChatbox(playerid, lines)
{
    for(new i = 0; i < lines; i++)
    {
        SendClientMessage(playerid, -1, " ");
    }
    return true;
}

ClearChatbox(playerid, 20); // put how many lines you want
cuber is offline   Reply With Quote
Old 16/06/2018, 09:12 PM   #1276
Dignity
High-roller
 
Dignity's Avatar
 
Join Date: May 2013
Location: Belgium
Posts: 1,934
Reputation: 1107
Default Re: Useful Snippets

Quote:
Originally Posted by cuber View Post
Code:
stock ClearChatbox(playerid, lines)
{
    for(new i = 0; i < lines; i++)
    {
        SendClientMessage(playerid, -1, " ");
    }
    return true;
}

ClearChatbox(playerid, 20); // put how many lines you want
such a big improvement !
Dignity is offline   Reply With Quote
Old 16/06/2018, 09:23 PM   #1277
Crystallize
Banned
 
Join Date: Aug 2013
Posts: 1,595
Reputation: 314
Default Re: Useful Snippets

Quote:
Originally Posted by Dignity View Post
such a big improvement !
I know right hahahaha he literally did nothing. LMFAO.
Crystallize is offline   Reply With Quote
Old 16/06/2018, 09:57 PM   #1278
cuber
Gangsta
 
cuber's Avatar
 
Join Date: Oct 2016
Location: KS.
Posts: 767
Reputation: 137
Default Re: Useful Snippets

Quote:
Originally Posted by Crystallize View Post
I know right hahahaha he literally did nothing. LMFAO.
I just thought I should paste it there. Go on discord and spam the n word again because you got banned because of Sew.
cuber is offline   Reply With Quote
Old 16/06/2018, 11:46 PM   #1279
Crystallize
Banned
 
Join Date: Aug 2013
Posts: 1,595
Reputation: 314
Spray Re: Useful Snippets

Quote:
Originally Posted by cuber View Post
I just thought I should paste it there. Go on discord and spam the n word again because you got banned because of Sew.
Chill brother just because I laughed that someone roasted you doesn’t mean I have something against you.LOL
Crystallize is offline   Reply With Quote
Old 19/06/2018, 10:35 AM   #1280
Dignity
High-roller
 
Dignity's Avatar
 
Join Date: May 2013
Location: Belgium
Posts: 1,934
Reputation: 1107
Thumbs up Re: Useful Snippets

Quote:
Originally Posted by cuber View Post
I just thought I should paste it there. Go on discord and spam the n word again because you got banned because of Sew.
Calm down homie it was a joke.

We’re all friends here.
Dignity is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
READ Usefull Links to snippets and other -Sneaky- Help Archive 5 02/05/2009 11:22 AM


All times are GMT. The time now is 10:16 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.