SA-MP Forums Archive
[Include] [INC] TSS - tAxI's Streamer Systems: full Streamer + HOUSING SYSTEM Utillity - 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)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] TSS - tAxI's Streamer Systems: full Streamer + HOUSING SYSTEM Utillity (/showthread.php?tid=35624)

Pages: 1 2


[INC] TSS - tAxI's Streamer Systems: full Streamer + HOUSING SYSTEM Utillity - cptnsausage - 29.04.2008

[INC]tAxI's Streamer Systems

OK guys, heres the first attempt at an all out 100% streamer solution for sa-mp. All streamers included in the package are now working the best they ever have to date so its now an all in one streamer, MAPICONS,PICKUPS,OBJECTS,VEHICLES. I'll be adding updated commands on a fairly regular basis to expand on the already vast functionallity.

Also keep checking because the system is based from a core process collection and extension code libraries that can be added and removed fairly easilly so watch out for extra extension releases - hopefully soon Checkpoint manager/streamer


----------=========================================----------

u]UPDATE - 25/04/08:[/u]

- Added fully compatible housing commands - see commands lists


UPDATE - 25/04/08:

- Core code Library converted to .own file format
- Code extension Libraries stored in TSS_LIB/TSS_ext folder
- Code core Library stored in TSS_LIB/TSS_core folder
- Fully functional Pickup Streamer now included (100% streamer solution!!!!)
- Fixed all current known bugs and errors - please post more as you experience them


UPDATE - 23/04/08:

- Code Libraries converted to .own file format
- Code Libraries stored in TSS_extensions folder
- Now uses "#include <TSS>" to include all streamer functions
- Fixed all current known bugs and errors - please post more as you experience them


UPDATE - 31/05/08:

- General Bugfixes for new server version


----------=========================================----------

Readme:
Code:
In Order to get this working you must put All of the files in include directory of the download into your
"pawno/include" folder.

into your "pawno/include/" directory.

--------------=================================----------------

  tAxI's TSS Toolkit - INC Package for SA-MP Multiplayer Modification 
  of Grand Theft Auto - San Andreas.

  Copyright © 2007 Chris Johnstone (tAxI/Necrioss)

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program. If not, see <http://www.gnu.org/licenses/>.

------------------================================-------------------------------------

In Order to get this working you must put All of the files in include directory of the download into your
"pawno/include" folder.

into your "pawno/include/" directory.

--------------=================================----------------

To use you must insert at the top of your script ---> #include <TSS>

insert under OnGameModeInit() OR if using in a filterscript OnFilterScriptInit() ---> TSS_core_OnGameModeInit();

insert under OnPlayerEnterVehicle(playerid,vehicleid) ---> TSS_core_OnPlayerEnterVehicle(vehicleid);

insert under OnVehicleDeath(vehicleid,reason) ---> TSS_core_OnVehicleDeath(vehicleid);

insert under OnVehicleMod(vehicleid,componentid) ---> TSS_core_OnVehicleMod(vehicleid,componentid);

insert under OnVehicleRespray(vehicleid,color1,color2) ---> TSS_core_OnVehicleRespray(vehicleid,color1,color2);

insert under OnVehiclePaintjob(vehicleid,paintjobid) ---> TSS_core_OnVehiclePaintjob(vehicleid,paintjobid);

insert under OnVehicleSpawn(vehicle) ---> TSS_core_OnVehicleSpawn(vehicleid);

insert under OnPlayerExitVehicle(playerid,vehicle) ---> TSS_core_OnPlayerExitVehicle(playerid,vehicleid);

insert under OnPlayerStateChange(playerid,newstate,oldstate) ---> 

TSS_core_OnPlayerStateChange(playerid,newstate,oldstate);

insert under OnPlayerKeyStateChange(playerid,newkeys,oldkeys) ---> 

TSS_core_OnPlayerKeyStateChange(playerid,newkeys);

insert under OnPlayerConnect(playerid) ---> TSS_core_OnPlayerConnect(playerid);

insert under OnPlayerDisconnect(playerid) ---> TSS_core_OnPlayerDisconnect(playerid);

insert under OnPlayerSpawn(playerid) ---> TSS_core_OnPlayerSpawn(playerid);

insert under OnPlayerPickupPickup(playerid,pickupid) ---> TSS_core_OnPlayerPickupPickup(playerid,pickupid);



A list of availlable commands will appear on your commands list on the right hand side of your pawno window

If you have any problems Please contact me, <tAxI>, via the SA-MP forums @ http://forum.<censored>

Enjoy!!!

tAxI/Necrioss <aka> Chris Johnstone.

++++++++++++++++__________________________+++++++++++++++++++

CURRENT COMMANDS LIST:
			native TSS_core_OnGameModeInit()
			native TSS_core_OnVehicleDeath(vehicleid)
			native TSS_core_OnPlayerEnterVehicle(playerid,vehicleid)
			native TSS_core_OnPlayerExitVehicle(vehicleid)
			native TSS_core_OnVehicleMod(vehicleid,componentid)
			native TSS_core_OnVehicleRespray(vehicleid,color1,color2)
			native TSS_core_OnVehiclePaintjob(vehicleid,paintjobid)
			native TSS_core_OnVehicleSpawn(vehicleid)
			native TSS_core_OnPlayerKeyStateChange(playerid,newkeys)
			native TSS_core_OnPlayerStateChange(playerid,newstate,oldstate)
			native TSS_core_OnPlayerDisconnect(playerid)
			native TSS_core_OnPlayerConnect(playerid)
			native TSS_core_OnGameModeExit()
			native TSS_core_OnPlayerPickupPickup(playerid,pickupid)
			native TSS_core_OnPlayerSpawn(playerid)
			native SetActiveSystems(bool:vehicle,bool:minimap,bool:pickup,bool:object,bool:house)
			native ------------------------------------------------------
			native SetBikeAntiFallForPlayer(playerid,bool:toggle)
			native ToggleAutoModSave(bool:toggle)
			native CreateStreamVehicle(modelid,Float:x,Float:y,Float:z,Float:a,col1,col2)
			native 

CreateStaticStreamVehicle(modelid,Float:x,Float:y,Float:z,Float:a,col1,col2,respawn_delay)
			native DestroyStreamVehicle(vstreamid)
			native SetStreamVehicleToRespawn(vstreamid)
			native CreateTempStreamVehicle(modelid,Float:x,Float:y,Float:z,Float:a,col1,col2)
			native GetPlayerVehicleStreamID(playerid)
			native GetVehicleStreamID(vehicleid)
			native GetVehicleStreamModel(vstreamid)
			native GetStreamVehicleID(vstreamid)
			native SetStreamVehiclePos(vstreamid,Float:x,Float:y,Float:z,Float:a)
			native 

SetVehicleStreamSpawnInfo(vstreamid,vmodel,Float:x,Float:y,Float:z,Float:a,color1,color2)
			native 

ForceStreamVehicleSpawn(vstreamid,Float:x,Float:y,Float:z,Float:a,worldid,interiorid,objective,UseSavedMods)
			native ChangeStreamVehiclePaintjob(vstreamid,paintjobid)
			native ChangeStreamVehicleColor(vstreamid,col1,col2)
			native AddStreamVehicleMod(vstreamid,componentid)
			native SetStreamVehicleParamsForPlayer(vstreamid,playerid,objective,doorslocked);
			native LinkStreamVehicleToInterior(vstreamid,interiorid)
			native SetStreamVehicleVirtualWorld(vstreamid,world)
			native GetStreamVehicleVirtualWorld(vstreamid)
			native ImportModsFromFile(const savefile[])
			native ExportModsToFile(const savefile[])
			native GetStreamVehiclePos(vstreamid,&Float:Xpos,&Float:Ypos,&Float:Zpos)
			native GetStreamVehicleZAngle(vstreamid,&Float:Angle)
			native PutPlayerInStreamVehicle(playerid,vstreamid)
			native SetStreamVehicleHealth(vstreamid,Float:health)
			native IsStreamVehicleStatic(vstreamid)
			native -------------------------------------------------------
			native 

CreateStreamObject(modelid,Float:x,Float:y,Float:z,Float:xrot,Float:yrot,Float:zrot,Float:spawn_dist)
			native DestroyStreamObject(objectid)
			native 

AttachStreamObjectToPlayer(objectid,playerid,Float:xoffset,Float:yoffset,Float:zoffset,Float:rotX,Float:rotY,Float

:rotZ)
			native DetachStreamObjectFromPlayer(playerid)
			native IsAnyObjectAttachedToPlayer(playerid)
			native GetPlayerAttachedObject(playerid)
			native IsObjectAttachedToPlayer(objectid,playerid)
			native IsObjectAttachedToAnyPlayer(objectid)
			native MoveStreamObject(objectid,Float:X,Float:Y,Float:Z,Float:Speed)
			native StopStreamObject(objectid)
			native IsValidPlayerStreamObject(objectid,playerid)
			native 

SetObjectInfo(objectid,modelid,Float:X,Float:Y,Float:Z,Float:rotX,Float:rotY,Float:rotZ)
			native --------------------------------------------------------
			native CreateMapIcon(Float:x,Float:y,Float:z,modelid,Float:spawn_dist)
			native DestroyMapIcon(iconid)
			native GetPlayerClosestIcon(playerid)
			native IsPlayerInRangeOfIcon(playerid,iconid)
			native ChangeMapIconInfo(iconid,Float:x,Float:y,Float:z,modelid,Float:spawn_dist)
			native --------------------------------------------------------
			native CreateStreamPickup(modelid,type,Float:x,Float:y,Float:z,custom_type)
	        native DestroyStreamPickup(pstreamid)
	        native SetStreamPickupInfo(pstreamid,modelid,type,Float:x,Float:y,Float:z,custom_type)
	        native GetPickupStreamID(pickupid)
	        native GetStreamPickupID(pstreamid)
	        native GetStreamPickupCustomType(pstreamid)
			native --------------------------------------------------------
			native IsPlayerLoggedInHouseSystem(playerid)
			native IsHouseVehicle(vehicleid)
			native IsVehicleLinkedToHouse(vehicleid,houseid)
			native IsPlayerHouseOwner(playerid,houseid)
			native IsPlayerHouseVehicleOwner(playerid,vehicleid)
			native IsHouseLocked(houseid)
			native IsHouseVehicleLocked(houseid)
			native GetPlayerClosestHouse(playerid)
			native IsPlayerInRangeOfHouse(playerid,houseid,Float:max_range)
			native IsPlayerInAnyHouse(playerid)
			native GetPlayerCurrentHouse(playerid)
			native LogPlayerIntoHouseSystem(playerid)
			native LogPlayerOutOfHouseSystem(playerid)
			native SetSpawnAtHome(bool:toggle)
			native PutPlayerInHouse(playerid,houseid)
			native RemovePlayerFromHouse(playerid)
			native SetHouseLocked(houseid,bool:toggle)
			native SetHouseVehicleLocked(houseid,bool:toggle)
			native SetHouseVehicleAutoModForPlayer(playerid,bool:toggle)
			native LoadHouses()
			native SaveHouses()
			native 

CreateHouse(Float:enterx,Float:entery,Float:enterz,Float:intx,Float:inty,Float:intz,price,interior,intworld)
			native CreateHouseVehicle(houseid,model,Float:x,Float:y,Float:z,Float:rot,color1,color2)
			native 

SetHouseVehicleSpawnInfo(houseid,model,Float:x,Float:y,Float:z,Float:rot,color1,color2)
			native GetHouseSafeValue(houseid)
			native SetHouseSafeValue(houseid,value)
			native GetHouseCost(houseid)
			native SetHouseCost(houseid,cost)
			native GetHouseOwnerID(houseid)
			native GetHouseVehicleOwnerID(vehicleid)
			native GetHouseVehicleHouseID(vehicleid)
			native GetHouseVehicleStreamID(houseid)
			native GetHouseVehicleID(houseid)
			native SetHouseNotOwned(houseid)
			native MakePlayerHouseOwner(playerid,houseid)
			native SetHouseName(houseid,const name[])

ENJOY!!!

Download The Streamer Package Here!!!


================================================== ===========================================


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - [HiC]TheKiller - 29.04.2008

NICE!!


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - Jonny_Walker - 29.04.2008

WTF THIS IS DAMN NICE MAN !!!!!
I JUST CANT BELIVE YOU RELEASE THIS DUDE !!!
1000000000000 THNX !!!!!!!!!!!
I LOVE YOU OMG OMG !!!!!!!!!!!!



Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - Polar - 29.04.2008

Nice taxi

Cant wait for your Checkpoint streamer/manager !



Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - Rks25 - 29.04.2008

Nice Taxi, i still need help with mapicon streamer


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - Zh3r0 - 29.04.2008

Omg another Stramer from the Stream godfather
this. is awesome Ty due TY TY TY


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - bigreal - 01.05.2008

very nice

but is there a mta .map to CreateStreamObject converter?


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - Zh3r0 - 01.05.2008

Quote:
Originally Posted by bigreal
very nice

but is there a mta .map to CreateStreamObject converter?
Yes
chech Delux map converter search for it
Lol


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - R@X - 01.05.2008

very nice


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - Yui - 01.05.2008

sry i dont understand how to install it on my server maybe u can help me in icq i am a new scripter or can u make a .pwn file and .amx file i put it on filterscript and write in server.cfg on filterscript Tax.....


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - Marcel - 01.05.2008

tAxI, can you make a standalone version of the vehicle ownership? Because I really can't get the hang of your unlimited gamemode.


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - cptnsausage - 02.05.2008

Check my signature, theres a link to my XVM system in there and thats the exact system i use in my gm only in filterscript form


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - jthebeast2007 - 03.05.2008

Taxi I'm still having the crashing problem that I mentioned with the vehicles.


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - BMW_M3_GTR - 06.05.2008

yeah, me too


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - $$$PiMp - 06.05.2008

same here, its crashing like mad!!! every 5 min, people are reporting this all the time!!! please help!!!

btw its only when more then 1 person is online


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - Marcel - 06.05.2008

tAxI, at your website there is an house include, could you please add it to this AIO? Because when I do #include <TSS> and #include <houses> it gives me a whole lot of errors, if you don't want to include it, at least make it compatible with this AIO. Thank you, Marcel


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - cptnsausage - 09.05.2008

ok development on hold till i can fix ths crashing bug that everyones having - i cant test with more than myself on my server so if somebody can debug it and narrow the problem down for me that'd be fantastic - sooner it gets done the sooner i can get on to making other stuff into it


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - jthebeast2007 - 10.05.2008

Well I haven't quite figured out the cause. So hopefully my situation might point you in a direction.
I can get in a car and its fine even if I just sit there. But if I drive it from the lvpd down past four dragons and make a left onto the big loop highway. I get maybe 100 feet if that and it crashes. Then I have to restart my server for it to work again. This happens when its just me and even when theres other people too.


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - $$$PiMp - 10.05.2008

this crash bug doesnt happen to me in my server, alone, but when i visit one of the many SATDM servers i crash all the time


Re: [INC] TSS - tAxI's Streamer Systems: All In One Streamer! - UPDATE: 29/04/08 - Hoimaks - 10.05.2008

Im sorry im a bit noob with these things, but can you please make a "noob guide" on how to install these things on my server?

Thanks in advance