geht genau so wenig
Beiträge von xxchrisiclpxx
-
-
Hey Leute
Habe ein VIP Chat gemacht doch er geht nichtif(strcmp(cmdtext,"/vc",true,3) == 0)
{
new string[128],name[24];
GetPlayerName(playerid,name,sizeof name);
format(string,sizeof string,"[VIPChat] %s: %s",name,cmdtext[3]);if(!strlen(cmdtext[2]))
{
SendClientMessage(playerid,BLAU,"Benutze: /vc [text]");
return 1;
}if(IsPlayerAnVIP(playerid))
{
for(new i=0 ; i <GetMaxPlayers() ; i++)
{
if(IsPlayerAnVIP(i))
{
SendClientMessage(i,BRAUN,string);
}
}
}
return 1;
}stock IsPlayerAnVIP(playerid)
{
if(GetPVarInt(playerid,"VIPStatus")==1)return 1;
return 0;
}Der Befehl gibt keine Errors oder ähnliches aus er reagiert einfach nicht
Ich hoffe ihr könnt mir wieder mal helfen
Danke im Voraus
-
Ich habe einen Respawn befehl gemacht der alle Fahrzeuge respawnen soll
Wenn ich diesen nun nutzen will bekommt jeder spieler auf dem server einen EXECrash woher kann das kommenDer Befehl:
ocmd:rac(playerid,params[])
{
if(IsPlayerAnAdmin(playerid,3))
{
SendClientMessage(playerid, ROT, "Farzeuge Respawnt!");
GameTextForAll("~rFahrzeuge respawnt!", 2000,3);
for(new cars=0; cars<MAX_VEHICLES; cars++)
{
if(!VehicleOccupied(cars))
{
SetVehicleToRespawn(cars);
}
}
return 1;
}
else SendClientMessage(playerid, ROT, "Du darfst diesen Befehl nicht benutzen!");
return 1;
}stock VehicleOccupied(vehicleid)
{
for(new i=0;i<MAX_PLAYERS;i++) if(IsPlayerInVehicle(i,vehicleid)) return 1;
return 0;
}Im Script sind keine Errors
-
Ja In der PWN ist alles richtig eingerückt weis auch nicht warum das hier so leicht durcheinander ist
-
if(dialogid == neondialog)
das ist Zeile 52
-
die gibt es nicht höhrt mit 203 auf
-
Habe ein Neonsysthem aber es Hat einen kleinen Error er höhrt sich simple an aber ich weiss nichtmehr was ich machen kann um in zu beheben
public OnPlayerCommandText(playerid, cmdtext[])
{
if(IsPlayerInRangeOfPoint(playerid,5,888.9810,1958.3186,10.8374))
{
if (strcmp(cmdtext, "/neon", true)==0)
{
if(IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid, neondialog, DIALOG_STYLE_LIST, "Neon Farben:", "DunkelBlau\nRot\nGrün\nWeiss\nViolet\nGelb\nCyan\nHellblau\nPink\nOrange\nHellGrün\nHellgelb\n---NeonEntfernen---", "Auswählen", "Abbrechen");
}
return 1;
}
}
else
{
}
return 0;
}
//**************Dialog*********************//
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{if(dialogid == neondialog)
{
if(response)
{
if(listitem == 0)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 1)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon2", CreateObject(18647,0,0,0,0,0,0));
SetPVarInt(playerid, "neon3", CreateObject(18647,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon2"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon3"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 2)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon4", CreateObject(18649,0,0,0,0,0,0));
SetPVarInt(playerid, "neon5", CreateObject(18649,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon4"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon5"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 3)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon6", CreateObject(18652,0,0,0,0,0,0));
SetPVarInt(playerid, "neon7", CreateObject(18652,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon6"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon7"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 4)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon8", CreateObject(18651,0,0,0,0,0,0));
SetPVarInt(playerid, "neon9", CreateObject(18651,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon8"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon9"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 5)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon10", CreateObject(18650,0,0,0,0,0,0));
SetPVarInt(playerid, "neon11", CreateObject(18650,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon10"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon11"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 6)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon12", CreateObject(18648,0,0,0,0,0,0));
SetPVarInt(playerid, "neon13", CreateObject(18648,0,0,0,0,0,0));
SetPVarInt(playerid, "neon14", CreateObject(18649,0,0,0,0,0,0));
SetPVarInt(playerid, "neon15", CreateObject(18649,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon12"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon13"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon14"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon15"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 7)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon16", CreateObject(18648,0,0,0,0,0,0));
SetPVarInt(playerid, "neon17", CreateObject(18648,0,0,0,0,0,0));
SetPVarInt(playerid, "neon18", CreateObject(18652,0,0,0,0,0,0));
SetPVarInt(playerid, "neon19", CreateObject(18652,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon16"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon17"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon18"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon19"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 8)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon20", CreateObject(18647,0,0,0,0,0,0));
SetPVarInt(playerid, "neon21", CreateObject(18647,0,0,0,0,0,0));
SetPVarInt(playerid, "neon22", CreateObject(18652,0,0,0,0,0,0));
SetPVarInt(playerid, "neon23", CreateObject(18652,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon20"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon21"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon22"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon23"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 9)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon24", CreateObject(18647,0,0,0,0,0,0));
SetPVarInt(playerid, "neon25", CreateObject(18647,0,0,0,0,0,0));
SetPVarInt(playerid, "neon26", CreateObject(18650,0,0,0,0,0,0));
SetPVarInt(playerid, "neon27", CreateObject(18650,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon24"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon25"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon26"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon27"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 10)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon28", CreateObject(18649,0,0,0,0,0,0));
SetPVarInt(playerid, "neon29", CreateObject(18649,0,0,0,0,0,0));
SetPVarInt(playerid, "neon30", CreateObject(18652,0,0,0,0,0,0));
SetPVarInt(playerid, "neon31", CreateObject(18652,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon28"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon29"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon30"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon31"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 11)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon32", CreateObject(18652,0,0,0,0,0,0));
SetPVarInt(playerid, "neon33", CreateObject(18652,0,0,0,0,0,0));
SetPVarInt(playerid, "neon34", CreateObject(18650,0,0,0,0,0,0));
SetPVarInt(playerid, "neon35", CreateObject(18650,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon32"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon33"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon34"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon35"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon eingebaut");
}
if(listitem == 12){DestroyObject(GetPVarInt(playerid, "neon")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon1")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon2")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon3"));
{
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon4")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon5")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon6")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon7"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon8")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon9")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon10")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon11"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon12")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon13")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon14")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon15"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon16")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon17")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon18")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon19"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon20")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon21")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon22")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon23"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon24")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon25")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon26")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon27"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon28")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon29")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon30")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon31"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon32")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon33")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon34")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon35"));
}
}
return 1;
}
return 0;
}Und das ist der Error Code
CodeC:\Users\Chris\Desktop\0.3x\filterscripts\neon.pwn(204) : error 030: compound statement not closed at the end of file (started at line 52)
Ich hoffe ihr könnt mir helfen
Danke für die Hilfe im Voraus -
Hatte es erst mit OCMD ging aber halt nicht dann habe ich es in strcmp geschrieben und es ging genau so wenig
Danke für die hilfe
-
Habe versucht einen Adminchat zu machen doch er funktioniert nicht
if(strcmp("/a",cmdtext,true,10)== 0)
{
new string[128],name[24];
GetPlayerName(playerid,name,sizeof name);
format(string,sizeof string,"Admin %s: %s",name,cmdtext[3]);if(!strlen(cmdtext[2]))
{
SendClientMessage(playerid,BLAU,"Benutze: /a [text]");
return 1;
}if(IsPlayerAnAdmin(playerid,2))
{
for(new i=0 ; i <GetMaxPlayers() ; i++)
{
if(IsPlayerAnAdmin(i,2))
{
SendClientMessage(i,LILA,string);
}
}
}
return 1;
} -
Hey Leute,
Ich habe einen /repair befehl gemacht mit SetVehicleHealth
Der Zustand geht zwar wieder auf 1000 aber die Lackschäden(sichtbare schäden) bleiben
Was kann ich tun das auch diese weggehen?Danke für die Hilfe im Voraus
-
Danke es funktioniert *-*
-
Wenn ich jetzt arreste kommt da
Du hast Arrestet
obwohl da kommen soll Du hast [NAME] arrestet
Und derjenige kommt immer noch nicht in den Knast
-
Ach misst so früh morgen ;D
Hätte ich auch sellber drauf kommen können vielen dank
Wenn ich jetzt /arrest [ID(In dem Falle 2)] eingebe kommt im Chat immer nur /arrest [id]
-
-
Danke schonmal ein anfang
Habe aber immernoch errors
Code
Alles anzeigenC:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2460) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2461) : error 001: expected token: "-identifier-", but found "1" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2464) : error 054: unmatched closing brace ("}") C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2466) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2467) : error 001: expected token: "-identifier-", but found "2" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2470) : error 054: unmatched closing brace ("}") C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2472) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2473) : error 001: expected token: "-identifier-", but found "3" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2476) : error 054: unmatched closing brace ("}") C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2478) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2479) : error 001: expected token: "-identifier-", but found "4" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2482) : error 054: unmatched closing brace ("}") C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2484) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2485) : error 001: expected token: "-identifier-", but found "5" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2488) : error 054: unmatched closing brace ("}") C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2490) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2491) : error 001: expected token: "-identifier-", but found "6" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2494) : error 054: unmatched closing brace ("}") Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 18 Errors.
-
Ich habe versucht einen /arrest Befehl für die Cops zu machen aber der Funktionier nicht und hat auch einige errors
Hier die Errors:
Code
Alles anzeigenC:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(1802) : error 036: empty statement C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(1806) : error 036: empty statement C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(1810) : error 036: empty statement C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(1814) : error 036: empty statement C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(1818) : error 036: empty statement C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(1822) : error 036: empty statement C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2460) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2461) : error 001: expected token: "-identifier-", but found "1" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2464) : error 054: unmatched closing brace ("}") C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2466) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2467) : error 001: expected token: "-identifier-", but found "1" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2470) : error 054: unmatched closing brace ("}") C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2472) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2473) : error 001: expected token: "-identifier-", but found "1" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2476) : error 054: unmatched closing brace ("}") C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2478) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2479) : error 001: expected token: "-identifier-", but found "1" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2482) : error 054: unmatched closing brace ("}") C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2484) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2485) : error 001: expected token: "-identifier-", but found "1" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2488) : error 054: unmatched closing brace ("}") C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2490) : error 010: invalid function or declaration C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2491) : error 001: expected token: "-identifier-", but found "1" C:\Users\Chris\Desktop\0.3x\gamemodes\Script.pwn(2494) : error 054: unmatched closing brace ("}") Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 24 Errors.
Und Hier der /arrest Befehl:
ocmd:arrest(playerid,params[])
{
if(IstSpielerInFraktion(playerid,1))
{
new pID, string[128];
if(sscanf(params,"ui",pID)) return SendClientMessage(playerid,ROT,"/arrest [id]");
format(string,sizeof(string),"Du hast %s eingeknastet.",SpielerName(pID));
SendClientMessage(playerid,LILA,string);
SetPlayerPos(pID,219.1285,109.2994,999.0156);
new wantedlevel;
wantedlevel = GetPlayerWantedLevel(pID);
if(wantedlevel==1);
{
SetTimer("1WantedTime",300000,false);
}
if(wantedlevel==2);
{
SetTimer("2WantedTime",600000,false);
}
if(wantedlevel==3);
{
SetTimer("3WantedTime",900000,false);
}
if(wantedlevel==4);
{
SetTimer("4WantedTime",1200000,false);
}
if(wantedlevel==5);
{
SetTimer("5WantedTime",1500000,false);
}
if(wantedlevel==6);
{
SetTimer("6WantedTime",1800000,false);
}
return 1;
}
else
{
SendClientMessage(playerid,ROT,"Du bist in keiner Staatsfraktion!");
}
return 1;
}forward 1WantedTime();
public 1WantedTime()
{
SetPlayerPosition(pID,2294.4167,2424.8342,10.8203);
}forward 2WantedTime();
public 2WantedTime()
{
SetPlayerPosition(pID,2294.4167,2424.8342,10.8203);
}forward 3WantedTime();
public 3WantedTime()
{
SetPlayerPosition(pID,2294.4167,2424.8342,10.8203);
}forward 4WantedTime();
public 4WantedTime()
{
SetPlayerPosition(pID,2294.4167,2424.8342,10.8203);
}forward 5WantedTime();
public 5WantedTime()
{
SetPlayerPosition(pID,2294.4167,2424.8342,10.8203);
}forward 6WantedTime();
public 6WantedTime()
{
SetPlayerPosition(pID,2294.4167,2424.8342,10.8203);
}Ich habe schon überall nachgelesen und weiß echt nichtmehr weiter
Währe cool wenn ihr mir helfen könntet
Danke schonmal im voraus
Chris -
Meine Freunde und ich haben nun 2Tage drauf gezockt und uns ist aufgefallen
-Wenn man autos kauft wird das Geld nicht abgezogen
-Wenn Cops Wantedler killen steht da zwar sie bekommen Geld aber sie tuhen es nicht
-Das Geld das man auf der Bank hat wird nicht gespeichert (Oder es hat was damit zu tun weil ich noch keine Bank ausgewählt habe)-Viele Befehle funktionieren garnicht
Finde ich etwas schade
-
Wie entbann ich einen Spieler (Sobeit) xD
-
wie gehe ich in ein Gebäude wie dem Arbeitsamt
? -
woher wie ich wo die Gangfight gebiete sind?