SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 15/10/2012, 03:03 PM   #1
BlueFire_
Big Clucker
 
Join Date: Sep 2012
Posts: 60
Reputation: 19
Thumbs up e_steam - Dynamic Streamer + Fast (2x) - Build 1

e_steam v1
Build (1) - First Release
-By BlueFire_



_______________________________


Solidfiles

Pastebin

Download This e_steam for usage and have fun. Give a PM. to me, If you got any Problem, Bugs, or anyother.
Give Reputation, Have some suggestions, Reply comments. Please


_______________________________


DESCRIPTION
Hello guys, i am not a newbie , i got in the line of scripting from 2 years. But i didn't joined samp forums because i didn't got knowledge or aware about it earlier. I have made many gamemode or say scripts for you guys or public to let others have fun. This is not a basic streamer, it contains every single option containing Objects, Checkpoints, Vehicles Ann Lot more. There is all necessary natives or stock functions which are user friendly. Hope you guys will like to use this streamer. There are few functions added and modified from other includes like of Gantzyo because he helped me from his include script for object movements. This is not for newbies, only the scripters which are pretty good can understand it. Sorry for my way of scripting, i use to script like this and now i will slowly change to user friendly one which you guys can understand and it would be easy for you to edit.

_______________________________


NATIVES
These are the natives which you can use and further they are been explained, that how to use them.

pawn Code:
native CreateStaticIcon(Float:x,Float:y,Float:z,markertype,color);
    native CreateStaticObject(model,Float:x,Float:y,Float:z,Float:rx,Float:ry,Float:rz);
    native CreateStaticCheckpoint(Float:x,Float:y,Float:z,Float:size);
    native DestroyStaticCheckpoint(checkpointid);
    native EnableCheckpointForPlayer(playerid,checkpointid);
    native DisableCheckpointForPlayer(playerid,checkpointid);
    native EnableCheckpointForAll(checkpointid);
    native DisableCheckpointForAll(checkpointid);
    native RotateObject(objectid,Float:rotX,Float:rotY,Float:rotZ,points,Float:speed);
    native SetObjectRotationSpeed(objectid,Float:speed);
    native StopRotatingObject(objectid);
    native GenerateBucle(objectid,Float:offX,Float:offY,Float:offZ,Float:speed)
    native StopBucle(objectid);
    native OnObjectRotated(objectid);
    native OnObjectStopRotate(objectid);
    native OnObjectStopBucle(objectid);
    native ReSpawn(playerid);
    native SetPlayerPosEx(playerid, Float:x ,Float:y,Float:z,Float:a,interior = 0,vw = 0);
    native CreateVehicleForPlayer(playerid, vehiclename[], color1, color2, Float:Health);
    native DeletePlayerVehicle(playerid);
    native RemoveBuilding(modelid, Float:oX, Float:oY, Float:oZ, Float:oRadius = 0.25, Float:orX = 0.0, Float:orY = 0.0, Float:orZ = 0.0);
    native RestoreBuilding(slotid);
    native RemoveSpecificBuilding(modelid);
    native CountRemovedObjects();

_______________________________


EXPLANATION
-Note: You must add this Code in : OnGameModeInit() or OnFilterScriptInit() to toggle e_streamer:
pawn Code:
native ToggleSteamer()//Compulsory to use

ICON
All the map icon part are really cool, You can create a icon for game using codings in script for better gameplay or furthur usage. This is not fully made but now you can create a Icon in-game by the following code, i.e.
pawn Code:
native CreateStaticIcon(Float:x,Float:y,Float:z,markertype,color);

OBJECTS
All the Object part is quiet large and got little help from Gantzyo & Remove part from funky1234 in the rotation and movement stuff. You can rotate, Create, Remove, Rotate, Move, Destroy, Bucles, and much more. We have made this more easy for the user to elaborate the usage of a object streamer easily and kindly. Have a look at all the Object stock or natives for furthus usage:
pawn Code:
native CreateStaticObject(model,Float:x,Float:y,Float:z,Float:rx,Float:ry,Float:rz);
//Using the help from  Gantzyo
        native RotateObject(objectid,Float:rotX,Float:rotY,Float:rotZ,points,Float:speed);
    native SetObjectRotationSpeed(objectid,Float:speed);
    native StopRotatingObject(objectid);
    native GenerateBucle(objectid,Float:offX,Float:offY,Float:offZ,Float:speed)
    native StopBucle(objectid);
    native OnObjectRotated(objectid);
    native OnObjectStopRotate(objectid);
    native OnObjectStopBucle(objectid);
/Using the help from  funky1234
        native RemoveBuilding(modelid, Float:oX, Float:oY, Float:oZ, Float:oRadius = 0.25, Float:orX = 0.0, Float:orY = 0.0, Float:orZ = 0.0);
    native RestoreBuilding(slotid);
    native RemoveSpecificBuilding(modelid);
    native CountRemovedObjects();

These all were the object parts . Hope you understand them well and have a usage in your script.
Here are the example Filterscripts: http://pawnoscripting.pastebin.com/bYef05Vb

CHECKPOINTS
All the checkpoints functions are been included here, You can create checkpoints, destory them, enable or disable them by the following natives and stock functions. Here are the natives listed:
pawn Code:
native CreateStaticCheckpoint(Float:x,Float:y,Float:z,Float:size);
    native DestroyStaticCheckpoint(checkpointid);
    native EnableCheckpointForPlayer(playerid,checkpointid);
    native DisableCheckpointForPlayer(playerid,checkpointid);
    native EnableCheckpointForAll(checkpointid);
    native DisableCheckpointForAll(checkpointid);

OTHERS
All the other functions i have added are quiet useful and can be used for easy and fast configuration for your scripts to load and use player data easily. Here are the codes listed below:
pawn Code:
native ReSpawn(playerid);
    native SetPlayerPosEx(playerid, Float:x ,Float:y,Float:z,Float:a,interior = 0,vw = 0);
    native CreateVehicleForPlayer(playerid, vehiclename[], color1, color2, Float:Health);
    native DeletePlayerVehicle(playerid);

_______________________________


CHANGE-LOG
13-October-2012 - Created the include
15-October-2012 - Released the script or include on sa-mp forums

_______________________________


CREDITS
- BlueFire_
- Gantzyo
- funky1234

Last edited by BlueFire_; 17/10/2012 at 01:51 PM.
BlueFire_ is offline   Reply With Quote
Old 16/10/2012, 08:09 AM   #2
Jochemd
High-roller
 
Jochemd's Avatar
 
Join Date: Jul 2009
Location: The Netherlands
Posts: 2,220
Reputation: 844
Default Re: e_steam - Dynamic Streamer + Fast (2x) - Build 1

Good work! Can you upload the pawn to pastebin, so I can look to the script? (I didn't plan to use it, just to see your scripting style and judge it).
__________________
Jochemd is offline   Reply With Quote
Old 16/10/2012, 12:45 PM   #3
BlueFire_
Big Clucker
 
Join Date: Sep 2012
Posts: 60
Reputation: 19
Default Re: e_steam - Dynamic Streamer + Fast (2x) - Build 1

Quote:
Originally Posted by Jochemd View Post
Good work! Can you upload the pawn to pastebin, so I can look to the script? (I didn't plan to use it, just to see your scripting style and judge it).
Thanks and here's the pastebin link: http://pastebin.com/BFeKAsRs
__________________
MY RELEASES
[Include] e_steam (Build 1)

___________________________
BlueFire_ is offline   Reply With Quote
Old 16/10/2012, 12:54 PM   #4
Glint
Guest
 
Posts: n/a
Default Re: e_steam - Dynamic Streamer + Fast (2x) - Build 1

Good job i like it.

+rep
  Reply With Quote
Old 16/10/2012, 12:59 PM   #5
Lordzy
High-roller
 
Lordzy's Avatar
 
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,698
Reputation: 1177
Default Re: e_steam - Dynamic Streamer + Fast (2x) - Build 1

This is really nice.
I liked it.
+4.
__________________
Currently inactive - I don't play at any SA-MP servers nor work on anything in PAWN for now. The projects that I've done so far in PAWN, which requires updates will be taking some time.
Lordzy is offline   Reply With Quote
Old 16/10/2012, 01:30 PM   #6
MP2
Godfather
 
MP2's Avatar
 
Join Date: Jan 2011
Location: England
Posts: 6,236
Reputation: 1004
Default Re: e_steam - Dynamic Streamer + Fast (2x) - Build 1

And the award for best presentation goes to...
__________________
Owner and developer of Mike's Cops and Robbers.

Click here to visit our site and find out more. Click here to view trailers.
Enter referral code SAMPFORUM after registering for a $5000 starting bonus!
MP2 is offline   Reply With Quote
Old 16/10/2012, 01:33 PM   #7
BlackBank
Gangsta
 
Join Date: Dec 2010
Location: The Netherlands
Posts: 522
Reputation: 437
Default Re: e_steam - Dynamic Streamer + Fast (2x) - Build 1

Quote:
Originally Posted by ****** View Post
WHAT. THE. FRAK?

Have you ever heard of comments, or indentation, or spacings, or ANYTHING to make your code even REMOTELY readable? How do you find anything in that horrific mess?
Indeed, i was thinking the same lol.
BlackBank is offline   Reply With Quote
Old 16/10/2012, 01:56 PM   #8
BlueFire_
Big Clucker
 
Join Date: Sep 2012
Posts: 60
Reputation: 19
Default Re: e_steam - Dynamic Streamer + Fast (2x) - Build 1

Quote:
Originally Posted by ****** View Post
WHAT. THE. FRAK?

Have you ever heard of comments, or indentation, or spacings, or ANYTHING to make your code even REMOTELY readable? How do you find anything in that horrific mess?
Sorry, as i already said i will try to improve it as its my pattern of scripting but due to the lack of understanding and editing the code even, i am changing it and now i will make a efficient, nice and a good looking code.

And Thanks all for positive thoughts.
__________________
MY RELEASES
[Include] e_steam (Build 1)

___________________________
BlueFire_ is offline   Reply With Quote
Old 16/10/2012, 02:04 PM   #9
Niko_boy
High-roller
 
Niko_boy's Avatar
 
Join Date: Aug 2010
Location: Somewhere i belong
Posts: 1,336
Reputation: 138
Default Re: e_steam - Dynamic Streamer + Fast (2x) - Build 1

this look very poorly coded
"NO SPACES"
god how can other ppl will be able to understand it lawl
streamer wont get fast by removing indentations , spaces -.-
__________________
nope[IMG]http://*******/1r0SOkH_[/IMG]
•••[CLOSED]LCS•Freeroam•DM•Stunts•••AutoArena [0.3z][No SkinShot][sixtytiger.com]Want a decent Attack Defend Gamemode?
N/A176.31.229.148:7830Get This! Attack-Defend(v2.3.1)
Niko_boy is offline   Reply With Quote
Old 16/10/2012, 02:17 PM   #10
BlueFire_
Big Clucker
 
Join Date: Sep 2012
Posts: 60
Reputation: 19
Default Re: e_steam - Dynamic Streamer + Fast (2x) - Build 1

Quote:
Originally Posted by Niko_boy View Post
this look very poorly coded
"NO SPACES"
god how can other ppl will be able to understand it lawl
streamer wont get fast by removing indentations , spaces -.-
Yup and i will improve
__________________
MY RELEASES
[Include] e_steam (Build 1)

___________________________
BlueFire_ 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
[FilterScript] In Game Dynamic XYZ Taker [xYzTaker][AddPlayerClass][SetPlayerPos][Simple XYZ][FAST!] XtremeR Filterscripts 19 25/12/2012 07:51 PM
[FilterScript] [0.3e] Dynamic ATM System [zcmd, SQLite, streamer] ReneG Filterscripts 27 10/09/2012 11:59 PM
Streamer problem! [+1rep] [Fast please] rohancoolking Scripting Help 7 30/08/2012 08:40 PM
A fast Racing Checkpoint streamer? ViruZZzZ_ChiLLL Help Archive 0 29/05/2010 07:42 AM


All times are GMT. The time now is 04:47 PM.


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