Dies ist die BETA Version meines Vehiclestreamers!!!
Vehicle Streamer (c) by Marvv Beta Version
1)How to install
2)Important!!!
3)How to use
1)
-Extract all Files!!!
-Copy the Files in the the right folders!
-Include the file 'vstreamer.inc' in your Gamemode/Filterscript
-Open the file 'vstreamer.pwn' and define MAX_PLAYERS at your Servers Slot and compile the Script
-Run the file 'vstreamer.amx' as FIRST(!) Filterscript
-WARNING: This ist just a BETA Version
2)
-Found Bugs or have any Questions?? --> ICQ:391500558 or http://forum-sa-mp.de/ then write a pm to 'Marvv'
-This Script is (c)opyright 2010 by Marvv, you can redistribute it and modify it, but you must call my name!!!
3)
-Use some of the following Functions/Callbacks:
//Functions:
CreateStreamVehicle(modid,Float:PositionX,Float:PositionY,Float:PositionZ,Float:RotationZ,vfarbe1,vfarbe2,respawn_delay=0,Float:vRange=0.0,vworld=-1,vinterior=-1)
DestroyStreamVehicle(svehicleid)
GetStreamVehiclePos(svehicleid,&Float:_x,&Float:_y,&Float:_z)
SetStreamVehiclePos(svehicleid,Float:_x,Float:_y,Float:_z)
GetStreamVehicleZAngle(svehicleid,&Float:_r)
SetStreamVehicleZAngle(svehicleid,&Float:_r)
SetStreamVehicleParamsForPlayer(svehicleid,playerid,objective,doorslocked)
SetStreamVehicleToRespawn(svehicleid)
AddStreamVehicleComponent(svehicleid,componentid)
RemoveStreamVehicleComponent(svehicleid,componentid)
ChangeStreamVehicleColor(svehicleid, color1, color2)
GetStreamVehiclePaintJob(svehicleid)
stock ChangeStreamVehiclePaintjob(svehicleid, paintjobid)
SetStreamVehicleHealth(svehicleid, Float:health)
GetStreamVehicleHealth(svehicleid, &Float:health)
AttachTrailerToStreamVehicle(strailerid, svehicleid)
DetachTrailerFromStreamVehicle(svehicleid)
IsTrailerAttachedToStreamVehicl(svehicleid)//Sorry, but 'IsTrailerAttachedToStreamVehicle' would be too long --> Warning
GetStreamVehicleTrailer(svehicleid)
GetStreamVehicleModel(svehicleid)
GetStreamVehicleComponentInSlot(svehicleid, slot)
GetStreamVehicleComponentType(componentid)
RepairStreamVehicle(svehicleid)
GetStreamVehicleVelocity(svehicleid, &Float:X, &Float:Y, &Float:Z)
SetStreamVehicleVelocity(svehicleid, Float:X, Float:Y, Float:Z)
GetStreamVehicleDamageStatus(svehicleid, &panels, &doors, &lights, &tires)
UpdateStreamVehicleDamageStatus(svehicleid, panels, doors, lights, tires)
SetStreamVehicleVirtualWorld(svehicleid, worldid)
GetStreamVehicleVirtualWorld(svehicleid)
PutPlayerInStreamVehicle(playerid,svehicleid,seatid)
GetPlayerStreamVehicle(playerid)
IsPlayerInAnyStreamVehicle(playerid)
IsPlayerInStreamVehicle(playerid,svehicleid)
//Callbacks:
OnStreamVehicleDeath(svehicleid,killerid);
OnStreamVehicleRespray(playerid, svehicleid, color1, color2);
OnStreamVehicleSpawn(svehicleid);
OnPlayerEnterStreamVehicle(playerid, svehicleid, ispassenger);
OnPlayerExitStreamVehicle(playerid, svehicleid);
OnStreamVehicleMod(playerid, vehicleid, componentid);
Hier ist die Datei:
breadfish.de/wcf/attachment/2059/
Vile Spass!!