Einstein kannst du mir mal bitte helfen ?
So ich habe jetzt mal den Einstein Objkect Streamer installiert er klappt einwandfrei aber er lädt die objecte ein wenig spät jetzt wollte ich fragen ist es besser den Einstein Object Streamer als Filterscript zu nutzen oder einfach ins script hauen ?
Ich habe derzeit den Objectstreamer im GM eingebaut
wenn ich es als filterscript bauen möchte wie es genau geht ich habe es derzeit so im script das ich einfach die sachen die ich im GM habe übernommen habe ist auch alles gut keine warnings keine errors aber wie schaffe ich es das er dieses FS auch lädt ?
weil er lädt ihn garnicht habe es halt auch in server.cfg als filterscript angegeben aber klappt nicht es sieht so aus bis jetzt also das FS
#include <a_samp>
#include <Obj_LITE>
public OnGameModeInit()
{
StreamObject_OnGameModeInit();
SetGameModeText("Stunt Evolution v.1.0");
UsePlayerPedAnims();
AddPlayerClass(0, 1507.7902, 1711.1027, 10.8203, 269.1425, 0, 0, 0, 0, 0, 0);
// Player Class's
AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
AddPlayerClass(266,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
AddPlayerClass(267,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
AddPlayerClass(268,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(269,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(270,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(271,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(272,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(280,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
AddPlayerClass(281,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
AddPlayerClass(282,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,0,0);
AddPlayerClass(283,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(284,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(285,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(286,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(287,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(254,1958.3783,1343.1572,15.3746,0.0,0,0,0,0,0,0);
AddPlayerClass(255,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(256,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(257,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(258,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
AddPlayerClass(259,1958.3783,1343.1572,15.3746,269.1425,0,0,0,0,0,0);
dann kommen noch objecte und danach kommt das
public OnGameModeExit()
{
StreamObject_OnGameModeExit();
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2032.9274,1545.6582,10.8203);
SetPlayerCameraPos(playerid, 2037.8097,1546.2125,10.6719);
SetPlayerCameraLookAt(playerid, 2032.9274,1545.6582,10.8203);
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
StreamObject_OnPlayerDisconnect(playerid);
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}
public OnPlayerInfoChange(playerid)
{
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
*edit
ich möchte nur das er es als FS lädt und ob es besser ist als FS oder es im GM zu lassen
*edit
Alex wie hast du das gemacht, das dein Server so in der Sigantur angezeigt wird ?