Leichenschändung macht spass!
Vehicle Streamer (c) von Marvv Beta Version
1)Installation
2)Wichtig
3)Benutzung
1)
-Alle Dateien extrahieren!!!
-alle dateien in die entsprechenden verzeichnisse kopieren!
-'vstreamer.inc' in den Gamemode/Filterscript inkludieren
-'vstreamer.pwn' öffnen und MAX_PLAYERS definieren und dann kompilieren
-'vstreamer.amx' als erstes filterscript laden
-WARNING: dies ist eine beta version, die vlt bugs enthalten kann
2)
-Fehler gefunden oder fragen? => pn
3)
-Hier die Funktionen & Ereignisse
//Funktionen:
CreateStreamVehicle(modid,FloatositionX,FloatositionY,FloatositionZ,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)
//Ereignisse:
OnStreamVehicleDeath(svehicleid,killerid);
OnStreamVehicleRespray(playerid, svehicleid, color1, color2);
OnStreamVehicleSpawn(svehicleid);
OnPlayerEnterStreamVehicle(playerid, svehicleid, ispassenger);
OnPlayerExitStreamVehicle(playerid, svehicleid);
OnStreamVehicleMod(playerid, vehicleid, componentid);