29.04.2008, 08:32
[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!!!
================================================== ===========================================