SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 18/08/2017, 06:38 PM   #1
UberEverywhere
Big Clucker
 
UberEverywhere's Avatar
 
Join Date: Aug 2016
Location: United Arab Emirates
Posts: 58
Reputation: 14
Default AFK System

AFK System

Hello, this is my first filterscript here, it was first a newbie script with normal stuff, now i updated it to do some extra stuff.

Commands:

/afk & /back

What does it do?

When AFK:


1. It freezes you
2. It sets your color to Yellow
3. It shows you some textdraws
4. Creates a 3d label above you
5. Sets your skin to CJ
6. Does not allow you to talk while AFK

When coming back from AFK:


1. It un-freezes you
2. It sets your color to your old color
3. Sets your skin to your old skin
4. Allows you to talk normally again

Links:

Old version: https://pastebin.com/ZPJi9ffu
Current version: https://pastebin.com/XNr1JzcX

Thanks for the nice feedbacks on the previous version, and thanks for the ideas :)

Last edited by UberEverywhere; 20/08/2017 at 10:27 PM. Reason: new version
UberEverywhere is offline   Reply With Quote
Old 18/08/2017, 07:03 PM   #2
HoussemGaming
Banned
 
Join Date: Jun 2017
Location: France
Posts: 190
Reputation: 10
Default Re: AFK System

This is so so simple, 1 star though.
Better go learn some PAWN knowledge.
HoussemGaming is offline   Reply With Quote
Old 18/08/2017, 07:15 PM   #3
UberEverywhere
Big Clucker
 
UberEverywhere's Avatar
 
Join Date: Aug 2016
Location: United Arab Emirates
Posts: 58
Reputation: 14
Default Re: AFK System

Who said i am not learning.
Thanks anyways :*
UberEverywhere is offline   Reply With Quote
Old 18/08/2017, 07:18 PM   #4
Hunud
Gangsta
 
Hunud's Avatar
 
Join Date: Jun 2016
Location: Right here.
Posts: 601
Reputation: 53
Default Re: AFK System

I'll be retard at moment and call this a CRAP. And of course there and tons of much better / simple yet effective AFK System. Learning isn't copy/pasting as i am sure this isn't you'r work.
__________________
SE Community

Hunud is offline   Reply With Quote
Old 18/08/2017, 07:19 PM   #5
UberEverywhere
Big Clucker
 
UberEverywhere's Avatar
 
Join Date: Aug 2016
Location: United Arab Emirates
Posts: 58
Reputation: 14
Default Re: AFK System

first of all, im not that much of a PAWN newbie
second, this is my script, and i did not copy / paste anything
UberEverywhere is offline   Reply With Quote
Old 18/08/2017, 07:43 PM   #6
XStormiest
Gangsta
 
Join Date: Jun 2012
Location: Continent: Europe, Country: Romania, City: Buzau
Posts: 546
Reputation: 45
Default Re: AFK System

Cool, good one.
I'll give you a few goals to reach for this system that would make it more unique:
- To give the scripter the option to choose wether or not he wants to kick the player
- To make a system so the player can be put afk after an amount of time set in script by a define.
- To make the system through a beautifull textdraw.
- To make the system fun for the afk player. / like weather change/time change/animations/3DTextlabels: LIke : "Please don't distrub, be right back"
- There are lots of ways to make this unique and beautifull so go ahead
Have fun learning and good luck in the future
__________________
XStormiest is offline   Reply With Quote
Old 18/08/2017, 07:47 PM   #7
Ultraz
Huge Clucker
 
Ultraz's Avatar
 
Join Date: Aug 2016
Location: Egypt
Posts: 254
Reputation: 22
Default Re: AFK System

Good luck for you in next release/script.
But my advice is, if you just started in SA-MP forums and want to release something, release a attractive script or a script which us important but less in SA-MP Forums so you'll get postive comments.

Ultraz.
Ultraz is offline   Reply With Quote
Old 18/08/2017, 07:57 PM   #8
UberEverywhere
Big Clucker
 
UberEverywhere's Avatar
 
Join Date: Aug 2016
Location: United Arab Emirates
Posts: 58
Reputation: 14
Default Re: AFK System

Thank you! :)

I have noted both replies above ^^
And I will improve it, thanks once again:)
UberEverywhere is offline   Reply With Quote
Old 18/08/2017, 10:43 PM   #9
Miguelch1312
Big Clucker
 
Miguelch1312's Avatar
 
Join Date: Apr 2013
Location: Location goes here
Posts: 56
Reputation: 5
Default Respuesta: AFK System

Useful for new scripters. They can learn how to do a system like that, and useful for lazy people xDD
__________________
Code:
if(strcmp(cmd, "/help", true) == 0)
{
     SendClientMessage(playerid, -1, "[ERROR]Insufficient knowledgement");
     return 1;
}
Miguelch1312 is offline   Reply With Quote
Old 18/08/2017, 11:44 PM   #10
UberEverywhere
Big Clucker
 
UberEverywhere's Avatar
 
Join Date: Aug 2016
Location: United Arab Emirates
Posts: 58
Reputation: 14
Default Re: AFK System

Updated
UberEverywhere 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
Job System, House Rent System and Event System AngeloBrand98 Scripting Help 2 08/11/2016 08:34 AM
[FilterScript] NRank System V1.0 | Advanced Rank System | 5+ Commands | Dialog System [Much More] Nirzor Filterscripts 9 18/04/2014 10:49 PM
[FilterScript] Cross Admin System V1.2 [updated] + Added IRC System + Anti Cheat(sscanf, dcmd,y_ini) No.1 Admin System CROSS_Hunter Filterscripts 21 02/01/2013 07:32 PM
[FilterScript] Cross Admin System V1.1 [updated] + Added V.I.P System(sscanf, dcmd,y_ini) No.1 Admin System CROSS_Hunter Filterscripts 8 10/09/2012 12:18 PM


All times are GMT. The time now is 09:47 AM.


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