SA-MP Forums Archive
[FilterScript] Little Commands And Features Pack [] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Little Commands And Features Pack [] (/showthread.php?tid=597736)



Little Commands And Features Pack [] - K0P - 04.01.2016

[]
This is a small pack made by me as my first release,ive not tested it please tell me if you find any bugs

Features
Connect Messages
Death Messages (Also Wasted message if the player is not killed by anyone)
Poke System
Advanced PMs


Commands
/pm
/r
/pms
/lock
/engine
/hydraulics
/dive


Credits
a_samp
Sscanf
ZCMD



Download
Pastebin



Re: Little Commands And Features Pack [] - UlanHafiz - 04.01.2016

Nice script btw.


Re: Little Commands And Features Pack [] - K0P - 04.01.2016

Quote:
Originally Posted by UlanHafiz
View Post
Nice script btw.
Thanks


Re: Little Commands And Features Pack [] - SsHady - 04.01.2016

Nice one, Pretty simple tho!


Re: Little Commands And Features Pack [] - K0P - 04.01.2016

Quote:
Originally Posted by SsHady
View Post
Nice one, Pretty simple tho!
Ty


Re: Little Commands And Features Pack [] - Riddick94 - 04.01.2016

You are just formatting OnPlayerDisconnect. Test your script before releasing such a simple things to make sure that at least they are working correctly.

edit://
strings of 250 characters length? What for? Let me break it down for you.

Example:
pawn Code:
%s(%d) just poked %s(%d)
%s = name = 32 chars.
( = 1 char.
%d = ID = 3 chars.
) = 1 char
" just poked " - 12 chars.
%s = name = 32 chars.
( = 1 char.
%d = ID = 3 chars.
) = 1 char.

All in total is: 84 characters + null character = 85 characters. No need for 250 array if 85 is needed in total. Read about array values.


Re: Little Commands And Features Pack [] - Sudaisx - 04.01.2016

Good Job for ur first release.. Looks good


Re: Little Commands And Features Pack [] - K0P - 04.01.2016

Quote:
Originally Posted by Sudaisx
View Post
Good Job for ur first release.. Looks good
Thanks

Quote:
Originally Posted by Riddick94
View Post
You are just formatting OnPlayerDisconnect. Test your script before releasing such a simple things to make sure that at least they are working correctly.
Ty,ill test my further releases


Re: Little Commands And Features Pack [] - CrazyChoco - 04.01.2016

Quote:
Originally Posted by Riddick94
View Post
You are just formatting OnPlayerDisconnect. Test your script before releasing such a simple things to make sure that at least they are working correctly.

edit://
strings of 250 characters length? What for? Let me break it down for you.

Example:
pawn Code:
%s(%d) just poked %s(%d)
%s = name = 32 chars.
( = 1 char.
%d = ID = 3 chars.
) = 1 char
" just poked " - 12 chars.
%s = name = 32 chars.
( = 1 char.
%d = ID = 3 chars.
) = 1 char.

All in total is: 84 characters + null character = 85 characters. No need for 250 array if 85 is needed in total. Read about array values.
Correction the name can only be 24 chars*


Re: Little Commands And Features Pack [] - K0P - 05.01.2016

Quote:
Originally Posted by CrazyChoco
View Post
Correction the name can only be 24 chars*
Sorry for that,i scripted it in hurry thats why...