Hey leute Wiso crasht mein script auf mein server? Ich habe jeds vieles probirt es aus zu klammern aber das WIll nit klappen >.> Bitte um hilfe
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!
Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
-
-
Hatte exakt das gleiche Problem.
Zeig mal den Abschnitt mit den Skins.
-
habe kein drinne habe nur Cj.
Kann vileich an mein Menu's leigen?
wangpickup = CreatePickup(1274,23,-1951.3555,277.4477,35.4688);
wangcar = CreateMenu("Wangcar",1,200.0,100.0,150.0,150.0);
AddMenuItem(wangcar,0,"Clover 15000$");
AddMenuItem(wangcar,0,"Hustler 11000$");
AddMenuItem(wangcar,0,"Yosemite 15500$");
AddMenuItem(wangcar,0,"Solair 22000$");
AddMenuItem(wangcar,0,"Sultan 25000$");
AddMenuItem(wangcar,0,"Tampa 17000$");
AddMenuItem(wangcar,0,"Hermes 18000$");
AddMenuItem(wangcar,0,"Romero 30000$");
AddMenuItem(wangcar,0,"Comet 50000$");
AddMenuItem(wangcar,0,"Sentinal 55000$");
AddMenuItem(wangcar,0,"Buffalo 60000$");
//
ottopickup = CreatePickup(1274,23,-1663.2771,1203.4989,7.2500);
ottocar = CreateMenu("Ottocar",1,200.0,100.0,150.0,150.0);
AddMenuItem(ottocar,0,"ZR-350 66000$");
AddMenuItem(ottocar,0,"Turismo 75000$");
AddMenuItem(ottocar,0,"SuperGT 90000$");
AddMenuItem(ottocar,0,"Jester 60000$");
AddMenuItem(ottocar,0,"Infernus 110000$");
AddMenuItem(ottocar,0,"Cheetah 150000$");
AddMenuItem(ottocar,0,"Bullet 100000$");
AddMenuItem(ottocar,0,"Banshee 110000$");
//
bikepickup = CreatePickup(1274,23,551.9544,-1289.9233,17.2482);
bike = CreateMenu("Bike Shop",1,200.0,100.0,150.0,150.0);
AddMenuItem(bike,0,"Fahrrad 100$");
AddMenuItem(bike,0,"Faggio 1500$");
AddMenuItem(bike,0,"BF-400 12000$");
AddMenuItem(bike,0,"FCR-900 13000$");
AddMenuItem(bike,0,"Freeway 14500$");
AddMenuItem(bike,0,"NRG-500 15000$");
AddMenuItem(bike,0,"PCJ-600 13500$");
AddMenuItem(bike,0,"Quad 12300$");
AddMenuItem(bike,0,"Sanchez 13020$");
AddMenuItem(bike,0,"Wayfarer 15000$"); -
Wann tritt der Crash auf?
-
Ich Connecte dann Läd er dann sagt er mir Conenct to Network oder so dann Crash
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 90.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1003.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
PlayerPlaySound(playerid,1097 ,0, 0, 0);
return 1;
}public OnPlayerRequestSpawn(playerid)
{
PlayerPlaySound(playerid,1186 ,0, 0, 0);
return 1;
} -
Ok, zeig mal bitte die Zeile mit AddPlayerClass
-
AddPlayerClass(0,154.9934,-1942.3678,3.7734,359.7767,0,0,0,0,0,0);
-
Mach ma das in OnGameModeInit:
new mid;
for(new v=0; v<MAX_VEHICLES; v++) {
mid=GetVehicleModel(v);
if(mid<400 || mid>611) { DestroyVehicle(v); }
if(v<=400) {
DestroyPickup(v); }}
Das ist nur mal zum testen, obs an i-nem Fahrzeug oder Pickup liegt (daran lags bei mir ja auch) -
lösch mal alle deine scriptfiles
-
breadfish.de
Hat das Thema geschlossen.