SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 31/12/2011, 03:34 PM   #1
PlayHard
Huge Clucker
 
PlayHard's Avatar
 
Join Date: Nov 2011
Location: In an apartment
Posts: 216
Reputation: 22
Default PlayHard's Freezer


Information:

It's a very simple include that helps you setting time at the freezing function.

How to use?

For example if you decide to make a command that will freeze a player and do something like like kill him, this one is for you. You can use it like this:

pawn Code:
//******'s commands:
YCMD:test(playerid, params[])
{
    Freezer(playerid, 5000);
    SendClientMessage(playerid, COLOR_GREY, "You've been frozen for 5 seconds");
    return 1;
}
//STRCMP:
if (strcmp("/test", cmdtext, true, 10) == 0)
{
    Freezer(playerid, 5000);
    SendClientMessage(playerid, COLOR_GREY, "You've been frozen for 5 seconds");
    return 1;
}
//Zeex's commands:
CMD:test(playerid, params[])
{
    Freezer(playerid, 5000);
    SendClientMessage(playerid, COLOR_GREY, "You've been frozen for 5 seconds");
    return 1;
}

For sure you have to insert a time using Milliseconds.

Installation:

In order to let it work copy Freezer.inc to your SA-MP Server directory/Pawno/include and put the following under (#include <a_samp>)
pawn Code:
#include <Freezer>

Download:

Last edited by PlayHard; 31/12/2011 at 07:27 PM.
PlayHard is offline   Reply With Quote
Old 31/12/2011, 03:36 PM   #2
SourceCode
Huge Clucker
 
SourceCode's Avatar
 
Join Date: Aug 2011
Posts: 340
Reputation: 11
Default Re: PlayHard's Freezer

Why don't u post it in snippets?
SourceCode is offline   Reply With Quote
Old 31/12/2011, 03:37 PM   #3
Mr.Fames
Huge Clucker
 
Join Date: Oct 2011
Posts: 335
Reputation: 24
Default Re: PlayHard's Freezer

it is useful according to me good job reped
__________________
Mr.Fames is offline   Reply With Quote
Old 31/12/2011, 03:39 PM   #4
Mike_Peterson
Gangsta
 
Mike_Peterson's Avatar
 
Join Date: Apr 2009
Location: In a concrete(used to brick) house
Posts: 842
Reputation: 37
Default Re: PlayHard's Freezer

Let me point you on a few things..
1. All your releases have 'Playhard's' in it.
2. Your avatar is screwed up.
3. Good for newbies that can't make (simple) timers theirselfs.
4. Why solidfiles?
__________________
I'm looking for some small-time paid work, no MySQL preferably.
Search before you post!

Got a problem? Debug your script (add prints to it).
If that doesn't help, use ******!
Still having issues? Create a thread on the SA-MP Forums.
If nothing helps, send me a PM.
And I'll try to figure it out with you.
Mike_Peterson is offline   Reply With Quote
Old 31/12/2011, 03:42 PM   #5
PlayHard
Huge Clucker
 
PlayHard's Avatar
 
Join Date: Nov 2011
Location: In an apartment
Posts: 216
Reputation: 22
Default Re: PlayHard's Freezer

Quote:
Originally Posted by SourceCode View Post
Why don't u post it in snippets?
I'll post the link there. Thanks.

Quote:
Originally Posted by Mr.Fames View Post
it is useful according to me good job reped
Thank you and I am so glad to hear that it helped you .

Quote:
Originally Posted by Mike_Peterson View Post
Let me point you on a few things..
1. All your releases have 'Playhard's' in it.
2. Your avatar is screwed up.
3. Good for newbies that can't make (simple) timers theirselfs.
4. Why solidfiles?
LOL, A list. Okay um,

1) What should my releases names be then ?!
2) I know :P, Changing it soon.
3) Thank you :3
4) Because it's Sexy & it knows it, Haha.
PlayHard is offline   Reply With Quote
Old 31/12/2011, 03:43 PM   #6
_DownLoaD_
Big Clucker
 
Join Date: Jun 2011
Posts: 153
Reputation: 4
Default Re: PlayHard's Freezer

thx, i will use it
_DownLoaD_ is offline   Reply With Quote
Old 31/12/2011, 04:35 PM   #7
Camacorn
Gangsta
 
Camacorn's Avatar
 
Join Date: Sep 2009
Location: Florida, USA
Posts: 721
Reputation: 85
Default Re: PlayHard's Freezer

I will not be using it, but i figured i'll still comment on it.

Very easy to make, but could come in handy for some people, good work.
Camacorn is offline   Reply With Quote
Old 31/12/2011, 04:51 PM   #8
Mosslah
Big Clucker
 
Join Date: Dec 2011
Posts: 74
Reputation: 10
Default Re: PlayHard's Freezer

A friend of mine was struggling with timers and freezing, so this could be very handy for him. Good job.
Mosslah is offline   Reply With Quote
Old 31/12/2011, 05:23 PM   #9
[Nikk]
High-roller
 
[Nikk]'s Avatar
 
Join Date: Jun 2011
Location: Argentina.
Posts: 1,471
Reputation: 63
Default Respuesta: PlayHard's Freezer

Exelent, frezee players very easy! thanks i will use it
__________________


[Nikk] is offline   Reply With Quote
Old 31/12/2011, 06:13 PM   #10
dr.pepper
Huge Clucker
 
dr.pepper's Avatar
 
Join Date: Jul 2009
Posts: 309
Reputation: 38
Default Re: PlayHard's Freezer

Great job sir, now I don't have to set it by myself.
dr.pepper 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
[Tutorial] Make your own Radio System - PlayHard's Tutorials! PlayHard Tutorials 33 09/04/2014 11:26 AM
[?] Creating variable, freezer when enter a DM zone, if checkpoint=mycp AG Adam Help Archive 6 01/10/2009 04:15 PM


All times are GMT. The time now is 10:48 PM.


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