Beiträge von XxDenniSxX
-
-
Warum bleibt der Server nur 10 sekunden ca. an ?
-
Der server bleibt bei mir 10 sekunden an und dann schließt sich des aufeinmal ... ;o warum ?
-
Hm bei mir Crasht er auch, finde sogar die Plugins nicht, habe streamer drin, sonst noch was?
-
Deswegen meine frage an dich oder andere hier, könntet ihr vllt den kompletten ordner mit allen includes,
usw. hochladen ? Kämen auch weniger Fragen auf :)*Hoffe ihr könntet das machen.
MfG -
Hallo liebe Community,
könnte vllt. einer den kompletten Ordner mit sämtlichen Scriptfiles, Plugins, usw. hochladen ?
Wäre sehr nett, ich denke dann würde hier auch nicht so viel spam aufkommen wie z.B Wo bekomm ich das her ? usw.
Wär echt sehr nett.
Mfg
Dennis -
Klappt vielen dank.
/edit gerade getestet, die Objecte werden Ingame nicht angezeigt. :((((
-
Dass ist bei CreatePickup. ôO
-
Doch weniger nullen -1 weg etc.
Aber nun dass doppelte an Warnings :((
/me braucht dringend Hilfe!
-
Pls help meee
Habs nu so:
CreateObject(-2212.4367675781,580.54840087891,36.937454223633,0,0,0);
CreateObject(-2240.0712890625,608.123046875,40.104438781738,0,0,0);
CreateObject(-2241.6633300781,642.87054443359,51.220252990723,0,0,0);
CreateObject(-2205.6953125,711.05773925781,58.316802978516,0,0,0);
CreateObject(-2208.0859375,703.12725830078,58.340240478516,0,0,0);
CreateObject(-2161.6640625,647.83459472656,59.6982421875,0,0,0);
CreateObject(-2161.6296386719,657.73675537109,59.6982421875,0,0,0);Dennoch kommt dass beim Compilen heraus:
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14228) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14228) : warning 202: number of arguments does not match definition
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14229) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14229) : warning 202: number of arguments does not match definition
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14230) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14230) : warning 202: number of arguments does not match definition
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14231) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14231) : warning 202: number of arguments does not match definition
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14232) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14232) : warning 202: number of arguments does not match definition
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14233) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14233) : warning 202: number of arguments does not match definition
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14234) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14234) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase14 Warnings.
-
Was solln dass für ne Taste sein?
//edit Habs gemacht geht ned oO
-
So:
if(strcmp(cmd, "/suhelp", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1) || PlayerInfo[playerid][pMember] == ? || PlayerInfo[playerid][pLeader] == ?Dass "?" selbstverständlich durch die Fraktions ID z.B 2 ersetzen.
Mfg,
Dennis -
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14224) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14225) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14226) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14227) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14228) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14229) : warning 213: tag mismatch
C:\Users\Jürgen\Desktop\[XrC]Xtreme Roleplay Community\Xtreme Roleplay Community\Gamemodes\shx.pwn(14230) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase7 Warnings.
Habe es so:
CreateObject(-2212.4367675781, 580.54840087891, 36.937454223633, 0, 0, 0, 1, -1);
CreateObject(-2240.0712890625, 608.123046875, 40.104438781738, 0, 0, 0, 1, -1);
CreateObject(-2241.6633300781, 642.87054443359, 51.220252990723, 0, 0, 0, 1, -1);
CreateObject(-2205.6953125, 711.05773925781, 58.316802978516, 0, 0, 0, 1, -1);
CreateObject(-2208.0859375, 703.12725830078, 58.340240478516, 0, 0, 0, 1, -1);
CreateObject(-2161.6640625, 647.83459472656, 59.6982421875, 0, 0, 0, 1, -1);
CreateObject(-2161.6296386719, 657.73675537109, 59.6982421875, 0, 0, 0, 1, -1);Mfg Dennis
-
<map edf:definitions="editor_main">
<object id="object (airportgate) (1)" doublesided="false" model="980" interior="0" dimension="0" posX="-2212.4367675781" posY="580.54840087891" posZ="36.937454223633" rotX="0" rotY="0" rotZ="0" />
<object id="object (elecfence_BAR) (1)" doublesided="false" model="987" interior="0" dimension="0" posX="-2240.0712890625" posY="608.123046875" posZ="40.104438781738" rotX="0" rotY="0" rotZ="264" />
<object id="object (airportgate) (2)" doublesided="false" model="980" interior="0" dimension="0" posX="-2241.6633300781" posY="642.87054443359" posZ="51.220252990723" rotX="0" rotY="0" rotZ="92" />
<object id="object (tall_fence) (1)" doublesided="false" model="974" interior="0" dimension="0" posX="-2205.6953125" posY="711.05773925781" posZ="58.316802978516" rotX="0" rotY="0" rotZ="0" />
<object id="object (tall_fence) (2)" doublesided="false" model="974" interior="0" dimension="0" posX="-2208.0859375" posY="703.12725830078" posZ="58.340240478516" rotX="0" rotY="0" rotZ="0" />
<object id="object (elecfence_BAR) (2)" doublesided="false" model="987" interior="0" dimension="0" posX="-2161.6640625" posY="647.83459472656" posZ="59.6982421875" rotX="0" rotY="0" rotZ="90" />
<object id="object (elecfence_BAR) (3)" doublesided="false" model="987" interior="0" dimension="0" posX="-2161.6296386719" posY="657.73675537109" posZ="59.6982421875" rotX="0" rotY="0" rotZ="90" />
</map>So :O
-
Hallo, meine Freunde.
Ich habe mir bei meiner Triaden Base Zäune gemappt.
Nun kommt wenn ich die .map datei Convertiere dieser Code heraus: -2161.6296386719, 657.73675537109, 59.6982421875, 0, 0, 0, 1, -1
Wie soll ich es nun bei meinem Script einfügen ?Mfg.
Dennis -
/help
10Zeichen, dies dass
-
Hmm, verstehe nicht so ganz wie du es meinst.
Aber vielen Dank für deine Hilfe.Kannst du mir evt. dass machen ? Bzw. einfach nur ins Script einfügen.
-
Hallo meine Lieben.
Ich brauche wieder mal eure Hilfe & zwar beim Ammunation.
Könntet ihr mir evt. sagen wo hier der Fehler liegt.Wenn ich keinen Waffenschein habe & ich mich an die Position stellen wo man eig. kaufen kann (Im Waffenladen) kommt Du hast keinen Waffenschein.
Gebe ich mir aber einen Waffenschein, kommt du bist nicht im Waffenladen.
Ich hoffe ihr könnt mir helfen hier der Script auschnitt
if (strcmp(cmd, "/buygun", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,313.0257,-136.2916,999.6016))
{
if(GetPlayerMoney(playerid) < 1)
{
SendClientMessage(playerid, COLOR_GREY, " Du hast nicht genug Geld !");
return 1;
}
if(PlayerInfo[playerid][pGunLic] == 0)
{
SendClientMessage(playerid, COLOR_GREY, " Du hast kein Waffenschein !");
return 1;
}
new mody = 100;
new gun;
new gunid[16];
new gunstring1[256];
new gunstring2[256];
new gunstring3[256];
new gunstring4[256];
new gunstring5[256];
new infostring[256];
new guncharge;
new ammocharge;
new location = PlayerInfo[playerid][pLocal];
if(location == 99 || location == 100 || location == 102)
{
if(BizzInfo[location-99][bProducts] <= 0)
{
GameTextForPlayer(playerid, "~r~Ausverkauft", 5000, 1);
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
format(string, sizeof(string), "Benutzung: /buygun [waffenname] [munition]");
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
SendClientMessage(playerid, COLOR_WHITE,"*** Waffen & Munition ***");
SendClientMessage(playerid, COLOR_GRAD2,string);
format(gunstring1, 256, "Waffen: Fallschirm ($%d) Golfschläger ($%d) Schlagstock ($%d) Baseballschläger ($%d) Schaufel ($%d) PoolCue ($%d)",
GunPrice[0][0]/100*mody,GunPrice[1][0]/100*mody,GunPrice[2][0]/100*mody,GunPrice[3][0]/100*mody,GunPrice[4][0]/100*mody,GunPrice[5][0]/100*mody,GunPrice[6][0]/100*mody);
SendClientMessage(playerid, COLOR_GRAD3, gunstring1);
format(gunstring2, 256, "Waffen: VioletterDildo ($%d) WeißerDildo ($%d) LangerweißerDildo ($%d) WeißerDildo2 ($%d) Blumen ($%d) cane",
GunPrice[7][0]/100*mody,GunPrice[8][0]/100*mody,GunPrice[9][0]/100*mody,GunPrice[10][0]/100*mody,GunPrice[11][0]/100*mody,GunPrice[12][0]/100*mody);
SendClientMessage(playerid, COLOR_GRAD3, gunstring2);
format(gunstring3, 256, "Waffen: SD-Pistole ($%d) DesertEagle ($%d) MP5 ($%d)",
GunPrice[13][0]/100*mody,GunPrice[14][0]/100*mody,GunPrice[15][0]/100*mody,GunPrice[16][0]/100*mody,GunPrice[17][0]/100*mody,GunPrice[18][0]/100*mody);
SendClientMessage(playerid, COLOR_GRAD3, gunstring3);
format(gunstring4, 256, "Waffen: Shotgun ($%d) AK47 ($%d) M4 ($%d)",
GunPrice[19][0]/100*mody,GunPrice[20][0]/100*mody,GunPrice[21][0]/100*mody,GunPrice[22][0]/100*mody,GunPrice[23][0]/100*mody);
SendClientMessage(playerid, COLOR_GRAD3, gunstring4);
format(gunstring5, 256, "Waffen: Pistolen Munition ($%d) Shotgun Munition ($%d) MP5 Munition ($%d) AK47/M4 Munition ($%d)",
GunPrice[25][0],GunPrice[26][0],GunPrice[27][0],GunPrice[28][0]);
SendClientMessage(playerid, COLOR_GRAD3, gunstring5);
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
return 1;
}
strmid(gunid, tmp, 0, strlen(cmdtext), 255);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
format(string, sizeof(string), "BENUTZUNG: /buygun [Waffe] [Munition]");
return 1;
}
new ammo = strval(tmp);
if(ammo < 1 || ammo > 999) { SendClientMessage(playerid, COLOR_GREY, " Die Munition muss zwischen 1 und 999 sein !"); return 1; }
if (strcmp(gunid, "Fallschirm", true, strlen(gunid)) == 0)
{
gun = 46;
guncharge = GunPrice[0][0]/100*mody;
ammocharge = 0;
}
else if (strcmp(gunid, "Golfschläger", true, strlen(gunid)) == 0)
{
gun = 2; guncharge = GunPrice[1][0]/100*mody; ammocharge = 0;
PlayerInfo[playerid][pGun1] = 2; PlayerInfo[playerid][pAmmo1] = 1;
}
else if (strcmp(gunid, "Schlagstock", true, strlen(gunid)) == 0)
{
gun = 3; guncharge = GunPrice[2][0]/100*mody; ammocharge = 0;
PlayerInfo[playerid][pGun1] = 3; PlayerInfo[playerid][pAmmo1] = 1;
}
else if (strcmp(gunid, "Baseballschläger", true, strlen(gunid)) == 0)
{
gun = 5; guncharge = GunPrice[4][0]/100*mody; ammocharge = 0;
PlayerInfo[playerid][pGun1] = 5; PlayerInfo[playerid][pAmmo1] = 1;
}
else if (strcmp(gunid, "Schaufel", true, strlen(gunid)) == 0)
{
gun = 6; guncharge = GunPrice[5][0]/100*mody; ammocharge = 0;
PlayerInfo[playerid][pGun1] = 6; PlayerInfo[playerid][pAmmo1] = 1;
}
else if (strcmp(gunid, "poolcue", true, strlen(gunid)) == 0)
{
gun = 7; guncharge = GunPrice[6][0]/100*mody; ammocharge = 0;
PlayerInfo[playerid][pGun1] = 7; PlayerInfo[playerid][pAmmo1] = 1;
}
else if (strcmp(gunid, "VioletterDildo", true, strlen(gunid)) == 0)
{
gun = 10; guncharge = GunPrice[7][0]/100*mody; ammocharge = 0;
PlayerInfo[playerid][pGun1] = 10; PlayerInfo[playerid][pAmmo1] = 1;
}
else if (strcmp(gunid, "Weißerdildo", true, strlen(gunid)) == 0)
{
gun = 11; guncharge = GunPrice[8][0]/100*mody; ammocharge = 0;
PlayerInfo[playerid][pGun1] = 11; PlayerInfo[playerid][pAmmo1] = 1;
}
else if (strcmp(gunid, "langerweißerdildo", true, strlen(gunid)) == 0)
{
gun = 12; guncharge = GunPrice[9][0]/100*mody; ammocharge = 0;
PlayerInfo[playerid][pGun1] = 12; PlayerInfo[playerid][pAmmo1] = 1;
}
else if (strcmp(gunid, "weißerdildo2", true, strlen(gunid)) == 0)
{
gun = 13; guncharge = GunPrice[10][0]/100*mody; ammocharge = 0;
PlayerInfo[playerid][pGun1] = 13; PlayerInfo[playerid][pAmmo1] = 1;
}
else if (strcmp(gunid, "Blumen", true, strlen(gunid)) == 0)
{
gun = 14; guncharge = GunPrice[11][0]/100*mody; ammocharge = 0;
PlayerInfo[playerid][pGun1] = 14; PlayerInfo[playerid][pAmmo1] = 1;
}
else if (strcmp(gunid, "cane", true, strlen(gunid)) == 0)
{
gun = 15; guncharge = GunPrice[12][0]/100*mody; ammocharge = 0;
PlayerInfo[playerid][pGun1] = 15; PlayerInfo[playerid][pAmmo1] = 1;
}
else if (strcmp(gunid, "SD-Pistole", true, strlen(gunid)) == 0)
{
gun = 23; guncharge = GunPrice[13][0]/100*mody; ammocharge = GunPrice[25][0]*ammo;
PlayerInfo[playerid][pGun2] = 23; PlayerInfo[playerid][pAmmo2] = ammo;
}
else if (strcmp(gunid, "DesertEagle", true, strlen(gunid)) == 0)
{
gun = 24; guncharge = GunPrice[15][0]/100*mody; ammocharge = GunPrice[25][0]*ammo;
PlayerInfo[playerid][pGun2] = 24; PlayerInfo[playerid][pAmmo2] = ammo;
}
else if (strcmp(gunid, "MP5", true, strlen(gunid)) == 0)
{
gun = 29; guncharge = GunPrice[18][0]/100*mody; ammocharge = GunPrice[27][0]*ammo;
PlayerInfo[playerid][pGun3] = 29; PlayerInfo[playerid][pAmmo3] = ammo;
}
else if (strcmp(gunid, "Shotgun", true, strlen(gunid)) == 0)
{
gun = 25; guncharge = GunPrice[19][0]/100*mody; ammocharge = GunPrice[26][0]*ammo;
PlayerInfo[playerid][pGun3] = 25; PlayerInfo[playerid][pAmmo3] = ammo;
}
else if (strcmp(gunid, "AK47", true, strlen(gunid)) == 0)
{
gun = 30; guncharge = GunPrice[22][0]/100*mody; ammocharge = GunPrice[28][0]*ammo;
PlayerInfo[playerid][pGun4] = 30; PlayerInfo[playerid][pAmmo4] = ammo;
}
else if (strcmp(gunid, "M4", true, strlen(gunid)) == 0)
{
gun = 31; guncharge = GunPrice[23][0]/100*mody; ammocharge = GunPrice[28][0]*ammo;
PlayerInfo[playerid][pGun4] = 31; PlayerInfo[playerid][pAmmo4] = ammo;
}
else
{
SendClientMessage(playerid, COLOR_GRAD6, "Ladenbesitzer: Ich habe noch nie von dieser Waffe gehört.");
return 1;
}
if((guncharge+ammocharge) > GetPlayerMoney(playerid))
{
format(infostring, 256, " Du hast nicht $%d !",guncharge+ammocharge);
SendClientMessage(playerid, COLOR_GRAD3, infostring);
return 1;
}
if(GetPlayerMoney(playerid) < (guncharge+ammocharge))
{
SendClientMessage(playerid, COLOR_GREY, " Geht nicht !");
return 1;
}
new payout = guncharge + ammocharge;
format(infostring, 256, "Du hast eine %s mit %d Munition für $%d erworben",gunid,ammo,payout);
SendClientMessage(playerid, COLOR_GRAD3, infostring);
BizzInfo[location-99][bTill] += payout;
ExtortionBiz(location-99, payout);
new locat = location-99;
if(locat == 1)
{
//FraktionsKasse[4] += payout;
}
BizzInfo[location-99][bProducts]--;
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
GivePlayerWeapon(playerid, gun, ammo);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s hat Waffen für $%d eingekauft Am BIZ: %d", sendername, payout, location-99);
printf("%s", string);
PayLog(string);
}
else
{
SendClientMessage(playerid, COLOR_WHITE,"Du bist nicht im Waffenladen.");
return 1;
}
}
return 1;
}Mfg,
Dennis -
Geht leider nicht.
Ich bekomme zwar keine Errors, jedoch wird der Spieler nicht gekickt.Habe mal gemacht dass die Spieler über 10'er Ping gekickt werden solln also MAXPING 10,
um es zu testen. Jedoch wurde ich nicht Gekickt, woran liegt dass ?
---------------------------------------------------------------------------------------------------------------------------
Mfg.
Dennis -
Mom teste es eben mal. Danke dir