[Include] e_steam - Dynamic Streamer + Fast (2x) - Build 1
#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
Reply
#2

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).
Reply
#3

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
Reply
#4

Good job i like it.

+rep
Reply
#5

This is really nice.
I liked it.
+4.
Reply
#6

And the award for best presentation goes to...
Reply
#7

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.
Reply
#8

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.
Reply
#9

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 -.-
Reply
#10

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
Reply
#11

OMG this is awesome, i will use this and try to improve script pattern
Reply
#12

Quote:
Originally Posted by Excel™
Посмотреть сообщение
OMG this is awesome, i will use this and try to improve script pattern
Glad to see that you guys like it and now my script pattern is changed and you can easily understand it.
Reply
#13

stream*

Also, the indentation is horrible.
Reply
#14

Quote:
Originally Posted by king_hual
Посмотреть сообщение
stream*

Also, the indentation is horrible.
Yup and i am making the script nice, updating the thread & adding new features.
Or i can say i am updating the streamer for v2
Reply
#15

CLEAN AND READABLE CODE OF THIS E STEAM HERE

here is readable code of e_steam i managed to do some cleaning nothing changed only made function readable
Reply
#16

Quote:
Originally Posted by Danyal
Посмотреть сообщение
CLEAN AND READABLE CODE OF THIS E STEAM HERE

here is readable code of e_steam i managed to do some cleaning nothing changed only made function readable
Ohh very well done, thanks for helping and giving the pastebin link
Rep++
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)