Guten Tag
melde dich doch einfach kurz per Pn bei mir.
MFG
Silver
Guten Tag
melde dich doch einfach kurz per Pn bei mir.
MFG
Silver
Abend ich bin nen HeadAdmin von Pro15 wenn du Server brauchst dann schreib mir einfach mal ne Pn mit deinen genauen vorstellungen.
MFG
Silver
Guten Tag,
ich biete hier meine WBB4 Lizens mit diversen Plugins an.
Preis : 45 € VHB
Zahlungsart : PSC, Paypal, Banküberweisung
Enthalten sind :
WBB4 Lizenz
Modern Shoutbox
SA:MP Server Integration
Teamspeak 3 Synchronisation
TeamSpeak³ Synchronisation WCF 2.0 Erweiterung: Channelgruppen
Die Screens
______
Unverbindlicher Hinweis: Die Sicherheit einer Transaktion kann am besten durch die Einschaltung eines Mittelsmannes gewährleistet werden. Weitere Informationen dazu gibt es hier.
Guten Tag Brotfische,
ich verkaufe hier meine einzigartigen Maps pro Map 15 € VHB.
Ich akzeptiere :
PaySafeCard
Banküberweisung
So nun die Maps....
Bahnhof San Fierro
FBI Base in Los Santos
Stadthalle in Los Santos
______
Unverbindlicher Hinweis: Die Sicherheit einer Transaktion kann am besten durch die Einschaltung eines Mittelsmannes gewährleistet werden. Weitere Informationen dazu gibt es hier.
Guten Tag,
bis jetzt habe ich immer noch kein passendes Plugin/Script gefunden
MFG
Silver
Hallo
Nehme Teil
MFG
Den ersten Code habe ich drinen jop aber der debug error bleibt
stock SavePlayer(playerid,del)
{
if(IsPlayerConnected(playerid))
{
if(pInfo[playerid][ploggedin]==1)
{
new Float:x,Float:y,Float:z,world,interior;
if(PaintBallInfo[playerid][Aktiv] > 0)
{
x = -1403.98;
y = -1474.01;
z = 101.71;
interior=0;
world=0;
switch(PaintBallInfo[playerid][Team])
{
case 1:{PBInfo[Team1]--;}
case 2:{PBInfo[Team2]--;}
case 3:{PBInfo[Team3]--;}
case 4:{PBInfo[Team4]--;}
}
}
else if(pDerby[playerid] == 1)
{
x =2695.6577;
y =-1704.6415;
z =11.8438;
interior=0;
world=0;
}
else
{
GetPlayerPos(playerid,x,y,z);
interior=GetPlayerInterior(playerid);
world=GetPlayerVirtualWorld(playerid);
}
GetPlayerHealth(playerid,pInfo[playerid][AuslogHeal]);
print("SavePlayer aufgerufen");
mysql_SetString("accounts", "IP", pInfo[playerid][pIP], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Level", GetPlayerScore(playerid), "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Respektpunkte", pInfo[playerid][pRespektpunkte], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Geld", pInfo[playerid][pGeld], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Admin", pInfo[playerid][pAdminlevel], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Prolog", pInfo[playerid][pProlog], "Name", SpielerName(playerid));
//mysql_SetInt("accounts", "Geschlecht", GetPVarInt(playerid,"geschlecht"), "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Fraktion", pInfo[playerid][pFraktion], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Baned", pInfo[playerid][pBaned], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "ZSPD", PAYDAYG[playerid], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Autowarn", pInfo[playerid][pAutowarn], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Autoschein", pInfo[playerid][pAutoschein], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "LKWschein", pInfo[playerid][pLkwschein], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Boot", pInfo[playerid][pBoot], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Bike", pInfo[playerid][pBike], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Helischein", pInfo[playerid][pHelischein], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Flug", pInfo[playerid][pFly], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "LKwarn", pInfo[playerid][pLKwarn], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Bikewarn", pInfo[playerid][pBikewarn], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Wanted", pInfo[playerid][pWanted], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Bank", pInfo[playerid][pBank], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Tode", pInfo[playerid][pTode], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "ImHaus", pInfo[playerid][pImHaus], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Kills", pInfo[playerid][pKills], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Spielzeit", pInfo[playerid][pSpielzeit], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Leader", pInfo[playerid][pLeader], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Member", pInfo[playerid][pMember], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Rang", pInfo[playerid][pRang], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Perso", pInfo[playerid][pPerso], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "DutySkin", pInfo[playerid][pDutySkin], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Job", pInfo[playerid][pJob], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Skin", pInfo[playerid][pSkin], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Neu", pInfo[playerid][pNeu], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Radio", pInfo[playerid][pRadio], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "TelefonBuch", pInfo[playerid][pTelefonBuch], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Donator", pInfo[playerid][pDonator], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Navi", pInfo[playerid][pNavi], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Gesellschaft", pInfo[playerid][pGesellschaft], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Rucksack", pInfo[playerid][pRucksack], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Versicherung", pInfo[playerid][pVersicherung], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Verwarungen", pInfo[playerid][pVerwarnungen], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Kampfstil", GetPlayerFightingStyle(playerid), "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Kopfgeld", pInfo[playerid][pKopfgeld], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "BiggestFish", pInfo[playerid][pBiggestFish], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "MüllZeit", pInfo[playerid][pMullTimer], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "FriedhofZeit",FriedhofZeit[playerid], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "FriedhofStatus",FriedhofStatus[playerid], "Name", SpielerName(playerid));
mysql_SetFloat("accounts", "TotX", pInfo[playerid][pTotX], "Name", SpielerName(playerid));
mysql_SetFloat("accounts", "TotZ", pInfo[playerid][pTotY], "Name", SpielerName(playerid));
mysql_SetFloat("accounts", "TotY", pInfo[playerid][pTotZ], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "TotW", pInfo[playerid][pTotW], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "TotI", pInfo[playerid][pTotI], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Lottonummer", pInfo[playerid][pLottonummer], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Hunger", pInfo[playerid][pHunger], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "KnastzeitGesamt", pInfo[playerid][pKnastzeitGesamt], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Verbrechen", pInfo[playerid][pVerbrechen], "Name", SpielerName(playerid));
mysql_SetFloat("accounts", "AuslogPosX", x, "Name", SpielerName(playerid));
mysql_SetFloat("accounts", "AuslogPosY", y, "Name", SpielerName(playerid));
mysql_SetFloat("accounts", "AuslogPosZ", z, "Name", SpielerName(playerid));
mysql_SetFloat("accounts", "AuslogWorld", world, "Name", SpielerName(playerid));
mysql_SetFloat("accounts", "AuslogInt", interior, "Name", SpielerName(playerid));
mysql_SetFloat("accounts", "AuslogHeal", pInfo[playerid][AuslogHeal], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Weste", pInfo[playerid][pWeste], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "AuslogDuty", 0, "Name", SpielerName(playerid));
mysql_SetInt("accounts", "biz", pInfo[playerid][pBiz], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "teilbiz", pInfo[playerid][pTeilbiz], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "pbkills", pInfo[playerid][pPBKills], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "pbdeath", pInfo[playerid][pPBDeath], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Waffenschein", pInfo[playerid][pWSchein], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "SkillZeit", pInfo[playerid][pSkillZeit], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Hochsicherheit", pInfo[playerid][pHochsicherheit], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Knast", pInfo[playerid][pKnast], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Sucht", pInfo[playerid][pSucht], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "safe_Marihuana", pInfo[playerid][pSafe_Marihuana], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "safe_Heroin", pInfo[playerid][pSafe_Heroin], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "safe_Mats", pInfo[playerid][pSafe_Mats], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "JobSkill1", pInfo[playerid][pJobSkill1], "Name", SpielerName(playerid));
mysql_SetInt("accounts","auto1",SpielerInfo[playerid][auto1],"Name",SpielerName(playerid));
mysql_SetInt("accounts","auto2",SpielerInfo[playerid][auto2],"Name",SpielerName(playerid));
mysql_SetInt("accounts","auto3",SpielerInfo[playerid][auto3],"Name",SpielerName(playerid));
mysql_SetInt("accounts","auto4",SpielerInfo[playerid][auto4],"Name",SpielerName(playerid));
mysql_SetInt("accounts","auto5",SpielerInfo[playerid][auto5],"Name",SpielerName(playerid));
if(medicduty[playerid] == 1)
{
mysql_SetInt("accounts", "AuslogDuty", 6, "Name", SpielerName(playerid));
}
if(armyduty[playerid] == 1)
{
mysql_SetInt("accounts", "AuslogDuty", 4, "Name", SpielerName(playerid));
}
if(lsduty[playerid] == 1)
{
mysql_SetInt("accounts", "AuslogDuty", 1, "Name", SpielerName(playerid));
}
if(bndduty[playerid] == 1)
{
mysql_SetInt("accounts", "AuslogDuty", 2, "Name", SpielerName(playerid));
}
if(oamtduty[playerid] == 1)
{
mysql_SetInt("accounts", "AuslogDuty", 7, "Name", SpielerName(playerid));
}
//WAFFEN
if(PaintBallInfo[playerid][Aktiv] > 0)
{
for (new i = 0; i < 13; i++)
{
weapons[playerid][i][0] = 0;
weapons[playerid][i][1] = 0;
}
}
else
{
for (new i = 0; i < 13; i++)
{
GetPlayerWeaponData(playerid, i, weapons[playerid][i][0], weapons[playerid][i][1]);
}
}
mysql_SetInt("accounts", "Skill23", SkillInfo[playerid][23], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Skill24", SkillInfo[playerid][24], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Skill29", SkillInfo[playerid][29], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Skill30", SkillInfo[playerid][30], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "Skill31", SkillInfo[playerid][31], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot1", weapons[playerid][1][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot2", weapons[playerid][2][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot3", weapons[playerid][3][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot4", weapons[playerid][4][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot5", weapons[playerid][5][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot6", weapons[playerid][6][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot7", weapons[playerid][7][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot8", weapons[playerid][8][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot9", weapons[playerid][9][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot10", weapons[playerid][10][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot11", weapons[playerid][11][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeSlot12", weapons[playerid][12][0], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni1", weapons[playerid][1][1], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni2", weapons[playerid][2][1], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni3", weapons[playerid][3][1], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni4", weapons[playerid][4][1], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni5", weapons[playerid][5][1], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni6", weapons[playerid][6][1], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni7", weapons[playerid][7][1], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni8", weapons[playerid][8][1], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni9", weapons[playerid][9][1], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni10", weapons[playerid][10][1], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni11", weapons[playerid][11][1], "Name", SpielerName(playerid));
mysql_SetInt("accounts", "WaffeMuni12", weapons[playerid][12][1], "Name", SpielerName(playerid));
AutosysSaveplayer(playerid,del);
SavePlayerCoinS(playerid);
SavePlayerInv(playerid);
SavePlayerApp(playerid);
return 1;
}
}
return 1;
}
Der andere part ist über 72000 Zeichen lang bis zu public OnGameModeInit
MFG
Silver
Also beides keine Wirkung, bad entry point ist immernoch in der Serverlog
Der Makeleader laggt weiterhin.
Hier noch die geforderten Auszüge
#define SendClientMessagef(%0,%1,%2,%3) \
format(sendfstring, 128, %2, %3); \
SendClientMessage(%0,%1, sendfstring)
Und die Saveall steht schon oben drin
MFG
Silver
So beide Befehle wurden ausgeklammert und der Server laggt immernoch bei dem Befehl
MFG
Silver
Hab den Befehl ausgeklammert aber immernoch das gleiche problem
Edit:
Das problem mit dem
[13:33:30] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[13:33:30] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[13:33:30] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[13:33:30] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[13:33:30] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[13:33:30] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[13:33:30] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[13:33:30] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[13:33:30] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[13:33:31] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
Ist leider auch nicht weg
MFG
Silver
So hier die geforderten einträge
stock CHEAT_ResetPlayerWeapons(playerid)
{
for(new i=0;i<13;i++)
{
totwaffen[playerid][i][0] = 0;
totwaffen[playerid][i][1] = 0;
}
ResetPlayerWeapons(playerid);
for(new i=0;i<50;i++)
{
switch(i)
{
case 1:{HackInfo[playerid][Brass] = 0;}
case 2:{HackInfo[playerid][Golf] = 0;}
case 3:{HackInfo[playerid][NiteStick] = 0;}
case 4:{HackInfo[playerid][Knife] = 0;}
case 5:{HackInfo[playerid][BaseBall] = 0;}
case 6:{HackInfo[playerid][Shovel] = 0;}
case 7:{HackInfo[playerid][Pool] = 0;}
case 8:{HackInfo[playerid][Katana] = 0;}
case 9:{HackInfo[playerid][ChainSaw] = 0;}
case 15:{HackInfo[playerid][Cane] = 0;}
case 16:{HackInfo[playerid][Grenade] = 0;}
case 17:{HackInfo[playerid][TearGas] = 0;}
case 18:{HackInfo[playerid][Molotov] = 0;}
case 22:{HackInfo[playerid][Ninemm] = 0;}
case 23:{HackInfo[playerid][Silenced9mm] = 0;}
case 24:{HackInfo[playerid][DesertEagle] = 0;}
case 25:{HackInfo[playerid][Shotgun] = 0;}
case 26:{HackInfo[playerid][SawnOffShotgun] = 0;}
case 27:{HackInfo[playerid][CombatShotgun] = 0;}
case 28:{HackInfo[playerid][MicroSMG] = 0;}
case 29:{HackInfo[playerid][SMG] = 0;}
case 30:{HackInfo[playerid][AK47] = 0;}
case 31:{HackInfo[playerid][M4] = 0;}
case 32:{HackInfo[playerid][Tec9] = 0;}
case 33:{HackInfo[playerid][CountryRifle] = 0;}
case 34:{HackInfo[playerid][SniperRifle] = 0;}
case 35:{HackInfo[playerid][Rocket] = 0;}
case 36:{HackInfo[playerid][HeatSeakingRocket] = 0;}
case 37:{HackInfo[playerid][FlameThrower] = 0;}
case 38:{HackInfo[playerid][MiniGun] = 0;}
case 39:{HackInfo[playerid][Satchel] = 0;}
case 40:{HackInfo[playerid][Detonator] = 0;}
case 41:{HackInfo[playerid][SprayCan] = 0;}
case 42:{HackInfo[playerid][Fire] = 0;}
case 43:{HackInfo[playerid][Camera] = 0;}
case 44:{HackInfo[playerid][NightVision] = 0;}
case 45:{HackInfo[playerid][ThermalVision] = 0;}
}
}
ResetPlayerWeapons(playerid);
return 1;
}
stock s_SetPlayerSkinChange(playerid,backtopos = 0)
{
skinX[playerid] = 0, skinY[playerid] = 0, skinZ[playerid] = 0;
if(backtopos == 1)
{
GetPlayerPos(playerid,skinX[playerid],skinY[playerid],skinZ[playerid]);
skinI[playerid] = GetPlayerInterior(playerid);
}
else if(backtopos == 2)
{
skinX[playerid] = 3.141892;
}
SetPlayerVirtualWorld(playerid,playerid+1);
SetPlayerInterior(playerid,0);
s_TogglePlayerControllable(playerid,0);
s_SetPlayerPos(playerid, 1677.4902,-1918.5880,27.0078);
SetPlayerFacingAngle(playerid, 108.2908);
SetPlayerCameraPos(playerid, 1670.0596,-1921.9252,28.6584);
SetPlayerCameraLookAt(playerid, 1677.4902,-1918.5880,27.0078);
pAuswahlSkin[playerid] = 1;
SCM(playerid,WHITE,"Benutze linke und rechte Mausstaste zum wechseln,");
SCM(playerid,WHITE,"Enter/F zum Übernehmen.");
switch(pInfo[playerid][pFraktion])
{
case 0:
{
maxskin[playerid]=51,skin1[playerid]=1,skin2[playerid]=2,skin3[playerid]=3,skin4[playerid]=4,skin5[playerid]=5,skin6[playerid]=6,skin7[playerid]=7,skin8[playerid]=8,
skin9[playerid]=9,skin10[playerid]=10,skin11[playerid]=11,skin12[playerid]=12,skin13[playerid]=13,skin14[playerid]=14,skin15[playerid]=15,skin16[playerid]=16,skin17[playerid]=17,
skin18[playerid]=18,skin19[playerid]=19,skin20[playerid]=20,skin21[playerid]=21,skin22[playerid]=22,skin23[playerid]=23,skin24[playerid]=24,skin25[playerid]=25,skin26[playerid]=26,
skin27[playerid]=27,skin28[playerid]=28,skin29[playerid]=29,skin30[playerid]=30,skin31[playerid]=31,skin32[playerid]=32,skin33[playerid]=33,skin34[playerid]=34,skin35[playerid]=35,
skin36[playerid]=36,skin37[playerid]=37,skin38[playerid]=38,skin39[playerid]=39,skin40[playerid]=40,skin41[playerid]=52,skin42[playerid]=53,skin43[playerid]=54,skin44[playerid]=55,
skin45[playerid]=56,skin46[playerid]=57,skin47[playerid]=58,skin48[playerid]=59,skin49[playerid]=60,skin50[playerid]=93;
}
case 1:
{
maxskin[playerid]=2,skin1[playerid]=282;
//maxskin[playerid]=10,skin1[playerid]=265,skin2[playerid]=266,skin3[playerid]=267,skin4[playerid]=280,skin5[playerid]=281,skin6[playerid]=282,skin7[playerid]=283,skin8[playerid]=284,skin9[playerid]=285;
}
case 2:
{
maxskin[playerid]=51,skin1[playerid]=1,skin2[playerid]=2,skin3[playerid]=3,skin4[playerid]=4,skin5[playerid]=5,skin6[playerid]=6,skin7[playerid]=7,skin8[playerid]=8,
skin9[playerid]=9,skin10[playerid]=10,skin11[playerid]=11,skin12[playerid]=12,skin13[playerid]=13,skin14[playerid]=14,skin15[playerid]=15,skin16[playerid]=16,skin17[playerid]=17,
skin18[playerid]=18,skin19[playerid]=19,skin20[playerid]=20,skin21[playerid]=21,skin22[playerid]=22,skin23[playerid]=23,skin24[playerid]=24,skin25[playerid]=25,skin26[playerid]=26,
skin27[playerid]=27,skin28[playerid]=28,skin29[playerid]=29,skin30[playerid]=30,skin31[playerid]=31,skin32[playerid]=32,skin33[playerid]=33,skin34[playerid]=34,skin35[playerid]=35,
skin36[playerid]=36,skin37[playerid]=37,skin38[playerid]=38,skin39[playerid]=39,skin40[playerid]=40,skin41[playerid]=52,skin42[playerid]=53,skin43[playerid]=54,skin44[playerid]=55,
skin45[playerid]=56,skin46[playerid]=57,skin47[playerid]=58,skin48[playerid]=59,skin49[playerid]=60,skin50[playerid]=93;
}
case 3:
{
maxskin[playerid]=2,skin1[playerid]=124;
}
case 4:
{
maxskin[playerid]=4,skin1[playerid]=287,skin2[playerid]=152,skin3[playerid]=150;
}
case 6:
{
maxskin[playerid]=4,skin1[playerid]=274,skin2[playerid]=275,skin3[playerid]=276;
}
case 7:
{
maxskin[playerid]=4,skin1[playerid]=8,skin2[playerid]=50,skin3[playerid]=71;
}
case 9:
{
maxskin[playerid]=7,skin1[playerid]=216,skin2[playerid]=219,skin3[playerid]=240,skin4[playerid]=20,skin5[playerid]=40,skin6[playerid]=60;
}
case 10:
{
maxskin[playerid]=9,skin1[playerid]=105,skin2[playerid]=106,skin3[playerid]=107,skin4[playerid]=269,skin5[playerid]=270,skin6[playerid]=271,skin7[playerid]=149,skin8[playerid]=65;
}
case 11:
{
maxskin[playerid]=6,skin1[playerid]=296,skin2[playerid]=102,skin3[playerid]=103,skin4[playerid]=104,skin5[playerid]=13;
}
case 12:
{
maxskin[playerid]=2,skin1[playerid]=220;
}
case 13:
{
maxskin[playerid]=10,skin1[playerid]=124,skin2[playerid]=125,skin3[playerid]=126,skin4[playerid]=127,skin5[playerid]=169,skin6[playerid]=192,skin7[playerid]=119,skin8[playerid]=113,skin9[playerid]=111;
}
}
s_SetPlayerSkin(playerid,skin1[playerid]);
return 1;
}
MFG
Silver
Wie soll der main genau aussehen kannst mir das zeigen bin grad auf der Leitung
Der saveall laggt 3 sec das ist auch ok das sehe ich ein aber warum laggt mein /makeleader 8sec lang ?
MFG
Silver
Wo muss ich das main einfügen ?
Hab das gefunden is das richtig ?
main()
{
print(" ");
Hier der Makeleader
ocmd:makeleader(playerid,params[])
{
new pID, fID;
new fname[50];
if(!isPlayerAnAdmin(playerid,4))return SCM(playerid, ROT,"Du hast nicht die benötigten Rechte!");
if(sscanf(params,"ui",pID,fID))return SCM(playerid, ROT,"/makeleader [playerid] [fraktionsid]");
switch(fID)
{
case 0:{fname = "Zivi";}
case 1:{fname = "LSPD";}
case 2:{fname = "BND";}
case 3:{fname = "Assasins";}
case 4:{fname = "SAA";}
case 5:{fname = "Regierung";}
case 6:{fname = "LSMD";}
case 7:{fname = "OAmt";}
case 8:{fname = "LEER";}
case 9:{fname = "SAM AG";}
case 10:{fname = "Grove St.";}
case 11:{fname = "Ballas";}
case 12:{fname = "Al Quaida";}
case 13:{fname = "LCN";}
}
if(fID < 0 || fID > 14 ) return SCM(playerid,ROT,"Die Fraktions-ID muss zwischen 1 und 13 sein!");
SendClientMessagef(playerid, WHITE, "Du gibst %s Leaderrechte für: %s",SpielerName(pID),fname);
SendClientMessagef(pID, COLOR_YELLOW, "[AdmMsg] %s gab dir Leaderrechte für: %s",SpielerName(playerid),fname);
pInfo[pID][pFraktion] = fID;
pInfo[pID][pLeader] = fID;
if(fID == 0){pInfo[pID][pRang] = fID;}
else{pInfo[pID][pRang] = 10;}
medicduty[pID] = 0;
armyduty[pID] = 0;
lsduty[pID] = 0;
oamtduty[pID] = 0;
bndduty[pID] = 0;
SetPlayerColor(playerid,WHITE);
CHEAT_ResetPlayerWeapons(pID);
s_SetPlayerSkinChange(pID,2);
SavePlayer(pID,0);
return 1;
}
dann noch der /saveall
ocmd:saveall(playerid,params[])
{
if(!isPlayerAnAdmin(playerid,6)) return SCM(playerid,ROT,"Du hast nicht die benötigten Rechte!");
for(new i = 0; i < MAX_PLAYERS; i++)
{
SavePlayerCoinS(playerid);
SavePlayer(i,0);
KassenSpeichern();
SaveBiz();
SaveDataT();
SCM(playerid,COLOR_YELLOW,"Du hast alle relevanten Datenbanksätze gespeichert!");
return 1;
}
return 1;
}
Guten Tag Liebe Brotfische
ich habe 2 arten von Problem.
Zum ersten habe ich in der Server Log immer [debug] Run time error 20: "Invalid index parameter (bad entry point)"
Dazu poste ich euch die Serverlog
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z-R4, (C)2005-2014 SA-MP Team
[11:08:25]
[11:08:25] Server Plugins
[11:08:25] --------------
[11:08:25] Loading plugin: crashdetect.so
[11:08:25] CrashDetect v4.10 is OK.
[11:08:25] Loaded.
[11:08:25] Loading plugin: mysql.so
[11:08:25] SA:MP MySQL Plugin v2.1.1 Loaded.
[11:08:25] Loaded.
[11:08:25] Loading plugin: streamer.so
[11:08:25] [MySQL] Thread running. Threadsafe: Yes.
[11:08:25]
*** Streamer Plugin v2.7.5.2 by Incognito loaded ***
[11:08:25] Loaded.
[11:08:25] Loading plugin: nativechecker.so
[11:08:25] Loaded.
[11:08:25] Loading plugin: audio.so
[11:08:25]
*** Audio Plugin v0.4 by Incognito loaded ***
[11:08:25] Loaded.
[11:08:25] Loaded 5 plugins.
[11:08:25]
[11:08:25] Filterscripts
[11:08:25] ---------------
[11:08:25] Loading filterscript 'map.amx'...
[11:08:25] Loading filterscript 'cbug.amx'...
[11:08:25] Loaded 2 filterscripts.
[11:08:25] * 8 Blitzer geladen *
[11:08:25] [MySQL] Connected (0) to 'root'@'127.0.0.1 via TCP/IP'.
[11:08:25] [MySQL] Server Version 5.5.41-0+wheezy1.
[11:08:31]
[11:08:31]
[11:08:31] |=========================|
[11:08:31] | [G]erman [R]evolution |
[11:08:31] | Selfmade RPG |
[11:08:31] | scripted by Domi Reiff |
[11:08:31] |-------------------------|
[11:08:31] | © 2014 - 2015 by D.R. |
[11:08:31] |=========================|
[11:08:31]
[11:08:31]
[11:08:31] Number of vehicle models: 113
[11:08:37] Incoming connection: 127.0.0.1:43458
[11:08:37] Incoming connection: 127.0.0.1:38441
[11:08:37] Incoming connection: 127.0.0.1:52208
[11:08:37] Incoming connection: 127.0.0.1:33461
[11:08:37] [npc:join] ArbeitsamtTresen has joined the server (0:127.0.0.1)
[11:08:37] [npc:join] StadthalleBG has joined the server (1:127.0.0.1)
[11:08:37] [npc:join] MedicRezept has joined the server (2:127.0.0.1)
[11:08:37] [npc:join] BSN4 has joined the server (3:127.0.0.1)
[11:08:44] Incoming connection: 127.0.0.1:41525
[11:08:44] Incoming connection: 127.0.0.1:51199
[11:08:44] Incoming connection: 127.0.0.1:38615
[11:08:44] Incoming connection: 127.0.0.1:39791
[11:08:44] [npc:join] Ammunation has joined the server (4:127.0.0.1)
[11:08:44] [npc:join] Versicherung has joined the server (5:127.0.0.1)
[11:08:44] [npc:join] LSPDRezept has joined the server (6:127.0.0.1)
[11:08:44] [npc:join] KasseBinco has joined the server (7:127.0.0.1)
[11:08:48] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[11:08:48] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[11:08:49] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[11:08:49] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
____________________________________________________________________________
Zum 2ten habe ich das Problem das mein Server 5 Sec lagt wenn ich z.B /makeleader oder /saveall eingebe, desweiteren wenn servernachrichten erscheinen laggt er ebenfalls.
Danke schonmal für eure hilfe
Danke für die schnelle hilfe es geht
Guten Tag,
ich habe Folgendes Problem mein Server Will einfahc nicht zum SQL Server Connecten.
Hier mal die Server Log
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z-R4, (C)2005-2014 SA-MP Team
[15:28:53]
[15:28:53] Server Plugins
[15:28:53] --------------
[15:28:53] Loading plugin: mysql.so
[15:28:53] SA:MP MySQL Plugin v2.1.1 Loaded.
[15:28:53] Loaded.
[15:28:53] Loading plugin: streamer.so
[15:28:53] [MySQL] Thread running. Threadsafe: Yes.
[15:28:53]
*** Streamer Plugin v2.7.5.2 by Incognito loaded ***
[15:28:53] Loaded.
[15:28:53] Loading plugin: crashdetect.so
[15:28:53] In order for runtime error detection to work CrashDetect must be loaded before streamer.so.
[15:28:53] CrashDetect v4.10 is OK.
[15:28:53] Loaded.
[15:28:53] Loading plugin: nativechecker.so
[15:28:53] Loaded.
[15:28:53] Loaded 4 plugins.
[15:28:53]
[15:28:53] Filterscripts
[15:28:53] ---------------
[15:28:53] Loading filterscript 'map.amx'...
[15:28:53] Loading filterscript 'cbug.amx'...
[15:28:53] Loaded 2 filterscripts.
[15:28:53] * 8 Blitzer geladen *
[15:28:53] [MySQL] Error (0): Failed to connect. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
ich habe das Forum durchsucht und habe das nur für wbb 4 gefunden
Guten Tag,
suche hier ein Plugin oder ähnliches wo meinen SA:MP Server mit dem WBB 4 Forum verbindet.
Alle wichtigen Details per PN.
Danke schonmal im Vorraus
//push: 30.03.15
______
Unverbindlicher Hinweis: Die Sicherheit einer Transaktion kann am besten durch die Einschaltung eines Mittelsmannes gewährleistet werden. Weitere Informationen dazu gibt es hier.
Das ist ganz einfach indem sie Streamer plugins einbauen, GTA Selber kann nur 1000 Objecte Streamen
Hier ein Link zu einem guten Streamer