#Push
Such noch immer aktive Mapper.
#Push
Such noch immer aktive Mapper.
so wirds nicht gehen.
versuchs so:
der Header des Dialogs muss ausserhalb der Schleife stehen:
strcat(string, "Empfänger\tBetrag\tAlter Kontostand\tNeuer Kontostand\tVerwendungszweck\tUhrzeit\n");
for().....{
format"(%s\nHTML_WHITE"%d\t"HTML_WHITE"$%d\t"HTML_RED"$%d\t"HTML_GREEN"$%d\t"HTML_WHITE"%s\t"HTML_WHITE"%s",stirng1, , InstructionInfo[i][iOtherNumber], InstructionInfo[i][iValue], InstructionInfo[i][iOldValue], InstructionInfo[i][iNewValue], InstructionInfo[i][iVerwendungszweck], InstructionInfo[i][iTime);
}
strcat(string, string1, sizeof(string1));
Versuchs mal so:
cache_get_value_name(i, "verwendungszweck", InstructionInfo[i][iVerwendungszweck], 64);
cache_get_value_name(i, "time", InstructionInfo[i][iTime], 64);
Du musst die maximale lände des strings angeben da es sonst Buggy ist hatte das problem auch mal.
Ich war letzte nacht mal drauf und wollte euch mal mitteilen das die Praxis der Fahrschule ziemlich Buggy ist man kann nicht in ein Fahrschul Auto einsteigen, man wird immer wieder rausgeschmissen. Bin dann mit dem Fahrrad die Stecke abgefahren.
Nope, immernoch das gleiche Problem... liegts eventuell an meiner Datenbank?
Falls dieses Problem noch immer besteht schreib mich per PN an oder komm auf meinen Teamspeak³ ich helfe dir bei der Lösung des problems und erkläre dir dann woran es gelegen hat.
ts.invincible-life.de
Alles anzeigenHallo @Douq
Function OnPlayerSpawn(playerid){Spawned[playerid] = 1;SetPlayerHealth(playerid,100);TextDrawShowForPlayer(playerid, spawnschutz);SetTimerEx("EndAntiSpawnKill", 10000, false, "i", playerid);if (PlayerInfo[playerid][pAdmin] > 0){TextDrawShowForPlayer(playerid,OTickets[playerid]);}M_OnPlayerSpawn(playerid);GW_OnPlayerSpawn(playerid);StopAudioStreamForPlayer(playerid);TextDrawShowForPlayer(playerid,Copyright);if(PlayerInfo[playerid][pTot] == 1) //Wenn man stirbt.{SendClientMessage(playerid, COLOR_WHITE, " ");SendClientMessage(playerid, COLOR_WHITE, " ");SendClientMessage(playerid, COLOR_WHITE, " ");SendClientMessage(playerid, COLOR_WHITE, " ");SendClientMessage(playerid, COLOR_WHITE, " ");SendClientMessage(playerid, COLOR_WHITE, " ");SendClientMessage(playerid, COLOR_GREEN, "Los Santos Krankenhaus ");SendClientMessage(playerid, COLOR_WHITE, "Du bist nun im Krankenhaus");SendClientMessage(playerid, COLOR_WHITE, "Die Ärzte werden dir helfen");SendClientMessage(playerid, COLOR_WHITE, "Du wirst in 60 Sekunden geheilt");SetPlayerHealth(playerid, 100);SetPlayerSkin(playerid,2);SetPlayerPos(playerid,1167.3525, -1320.1394, 24.2600);SetPlayerCameraPos(playerid,1218.57, -1321.66, 26.01);SetPlayerCameraLookAt(playerid,1215.94, -1321.66, 26.01);SetPlayerColor(playerid,TEAM_HIT_COLOR);FreezePlayer(playerid);ResetPlayerWeapons(playerid);SetPlayerInterior(playerid, 0);if(IsPlayerInFrac(playerid, 1)){SetPlayerColor(playerid,NAMECOLOR_LSCOP);}else if(IsPlayerInFrac(playerid, 4)){SetPlayerColor(playerid, NAMECOLOR_MEDIC);}else{SetPlayerColor(playerid,TEAM_HIT_COLOR);}ResetPlayerWeapons(playerid);return 1;}STDPlayer[playerid] = 0;gTeam[playerid] = PlayerInfo[playerid][pTeam]; //Set the Teamif (gTeam[playerid] == 4) //medic / criminal reset team{gTeam[playerid] = 3;}if(gPlayerLogged[playerid] == 0){SendClientMessage(playerid, COLOR_LIGHTRED, "Um spielen zu können, musst du dir einen Account erstellen oder dich einloggen!");Kick(playerid);return 1;}if(AtClothes[playerid] == 1){PlayerInfo[playerid][pChar] = GetPlayerSkin(playerid);PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);AtClothes[playerid] = 0;}if(gTeam[playerid] == 11 && PlayerInfo[playerid][pLeader] < 1){MedicBill[playerid] = 0;new rand = random(sizeof(CIV));SendClientMessage(playerid, COLOR_GREEN, "Du hast dein Skin erfolgreich geändert.");PlayerInfo[playerid][pTeam] = 3;gTeam[playerid] = 3;SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0); // NACH SKIN WECHSELPlayerInfo[playerid][pModel] = CIV[rand];SpawnPlayer(playerid);}if(gTeam[playerid] == 5){if(PlayerInfo[playerid][pMember] < 1){MedicBill[playerid] = 0;new rand = random(sizeof(CIV));SendClientMessage(playerid, COLOR_ORANGE, "Du hast dein Skin erfolgreich geändert.");PlayerInfo[playerid][pTeam] = 3;gTeam[playerid] = 3;SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);PlayerInfo[playerid][pModel] = CIV[rand];SpawnPlayer(playerid);}}if(gTeam[playerid] == 10){if(PlayerInfo[playerid][pMember] != 8){MedicBill[playerid] = 0;new rand = random(sizeof(CIV));PlayerInfo[playerid][pTeam] = 3;gTeam[playerid] = 3;SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);PlayerInfo[playerid][pModel] = CIV[rand];SpawnPlayer(playerid);}}if(gTeam[playerid] == 2 && !IsACop(playerid)){MedicBill[playerid] = 0;new rand = random(sizeof(CIV));SendClientMessage(playerid, COLOR_LIGHTRED, "");PlayerInfo[playerid][pTeam] = 3;gTeam[playerid] = 3;SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);PlayerInfo[playerid][pModel] = CIV[rand];SpawnPlayer(playerid);}if(gTeam[playerid] == 3){if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0){MedicBill[playerid] = 0;new model = PlayerInfo[playerid][pChar];if(PlayerInfo[playerid][pMember] == 1) { SetSpawnInfo(playerid, 2, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pMember] == 2) { SetSpawnInfo(playerid, 2, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pMember] == 3) { SetSpawnInfo(playerid, 2, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 2; gTeam[playerid] = 2; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pMember] == 4) { SetSpawnInfo(playerid, 1, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 1; gTeam[playerid] = 1; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pMember] == 5) { SetSpawnInfo(playerid, 5, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 5; gTeam[playerid] = 5; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pMember] == 6) { SetSpawnInfo(playerid, 5, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 5; gTeam[playerid] = 5; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pMember] == 7) { SetSpawnInfo(playerid, 7, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 7; gTeam[playerid] = 7; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pMember] == 8) { SetSpawnInfo(playerid, 10, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 10; gTeam[playerid] = 10; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pMember] == 9) { SetSpawnInfo(playerid, 12, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pMember] == 10) { SetSpawnInfo(playerid, 12, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pMember] == 11) { SetSpawnInfo(playerid, 12, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pMember] == 12) { SetSpawnInfo(playerid, 12, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Triadenelse if(PlayerInfo[playerid][pMember] == 13) { SetSpawnInfo(playerid, 13, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Groove Streetelse if(PlayerInfo[playerid][pMember] == 14) { SetSpawnInfo(playerid, 14, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Bloodzelse if(PlayerInfo[playerid][pMember] == 15) { SetSpawnInfo(playerid, 15, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//2fastelse if(PlayerInfo[playerid][pMember] == 16) { SetSpawnInfo(playerid, 16, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Los Santos Vagoselse if(PlayerInfo[playerid][pMember] == 17) { SetSpawnInfo(playerid, 17, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Varios Los Aztecaselse if(PlayerInfo[playerid][pMember] == 18) { SetSpawnInfo(playerid, 18, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Cripzelse if(PlayerInfo[playerid][pMember] == 19) { SetSpawnInfo(playerid, 19, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//West Coast Customselse if(PlayerInfo[playerid][pMember] == 20) { SetSpawnInfo(playerid, 20, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//else if(PlayerInfo[playerid][pMember] == 21) { SetSpawnInfo(playerid, 21, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//else if(PlayerInfo[playerid][pMember] == 22) { SetSpawnInfo(playerid, 22, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//else if(PlayerInfo[playerid][pMember] == 23) { SetSpawnInfo(playerid, 23, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//else if(PlayerInfo[playerid][pMember] == 24) { SetSpawnInfo(playerid, 24, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//else if(PlayerInfo[playerid][pMember] == 25) { SetSpawnInfo(playerid, 25, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// CarliCartellelse if(PlayerInfo[playerid][pLeader] == 1) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pLeader] == 2) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pLeader] == 3) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pLeader] == 4) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pLeader] == 5) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pLeader] == 6) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pLeader] == 7) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pLeader] == 8) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pLeader] == 9) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pLeader] == 10) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pLeader] == 11) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 11; gTeam[playerid] = 11; PlayerInfo[playerid][pModel] = model; }else if(PlayerInfo[playerid][pLeader] == 12) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Triadenelse if(PlayerInfo[playerid][pLeader] == 13) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Groove Streetelse if(PlayerInfo[playerid][pLeader] == 14) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Bloodzelse if(PlayerInfo[playerid][pLeader] == 15) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//2fastelse if(PlayerInfo[playerid][pLeader] == 16) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Los Santos Vagoselse if(PlayerInfo[playerid][pLeader] == 17) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Varios Los Aztecaselse if(PlayerInfo[playerid][pLeader] == 18) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//Cripzelse if(PlayerInfo[playerid][pLeader] == 19) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }//West Coast Customselse if(PlayerInfo[playerid][pLeader] == 20) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// Terroristenelse if(PlayerInfo[playerid][pLeader] == 21) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// Wheelmanelse if(PlayerInfo[playerid][pLeader] == 23) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// Grundwehrdienstelse if(PlayerInfo[playerid][pLeader] == 22) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// Feuerwehrelse if(PlayerInfo[playerid][pLeader] == 24) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// Oamtelse if(PlayerInfo[playerid][pLeader] == 25) { SetSpawnInfo(playerid, 11, model,0.0,0.0,0.0,0,0,0,0,0,0,0); PlayerInfo[playerid][pTeam] = 12; gTeam[playerid] = 12; PlayerInfo[playerid][pModel] = model; }// Cali Cartell//SetSpawnInfo(playerid, team, model,0.0,0.0,0.0,0,0,0,0,0,0,0);SpawnPlayer(playerid);}}if(!gPlayerAnimLibsPreloaded[playerid]){PreloadAnimLib(playerid,"BOMBER");PreloadAnimLib(playerid,"RAPPING");PreloadAnimLib(playerid,"SHOP");PreloadAnimLib(playerid,"BEACH");PreloadAnimLib(playerid,"SMOKING");PreloadAnimLib(playerid,"FOOD");PreloadAnimLib(playerid,"ON_LOOKERS");PreloadAnimLib(playerid,"DEALER");PreloadAnimLib(playerid,"CRACK");PreloadAnimLib(playerid,"CARRY");PreloadAnimLib(playerid,"COP_AMBIENT");PreloadAnimLib(playerid,"PARK");PreloadAnimLib(playerid,"INT_HOUSE");PreloadAnimLib(playerid,"FOOD");gPlayerAnimLibsPreloaded[playerid] = 1;}if(PlayerInfo[playerid][pChar] > 0) { SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]); }else { SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]); }//SetPlayerWeapons(playerid);SetPlayerSpawn(playerid);SetPlayerToTeamColor(playerid);PlayerFixRadio(playerid);if(MapIconsShown[playerid] != 1){MapIconsShown[playerid] = 1;/* SetPlayerMapIcon(playerid, 59, 2001.7866,-1128.8413,25.4584, 59, COLOR_YELLOW); //Bloodz Map IconSetPlayerMapIcon(playerid, 62, 2487.4963,-1669.9874,13.3359, 62, COLOR_YELLOW); //Crips Map IconSetPlayerMapIcon(playerid, 60, -2188.5515,988.2034,80.0000, 60, COLOR_YELLOW); //Bloodz Map IconSetPlayerMapIcon(playerid, 52, -2651.4575,376.0330,5.6843, 52, COLOR_YELLOW); // /Bank SF IconSetPlayerMapIcon(playerid, 23, -793.5161,1548.3273,27.1172, 21, COLOR_YELLOW); //BSN Map IconSetPlayerMapIcon(playerid, 23, -1483.2383,2633.9021,58.7813, 23, COLOR_YELLOW); //Waffenladen Map Icon*/SetPlayerMapIcon(playerid, 42, 1944.0486,-1775.4786,13.3906, 42, COLOR_YELLOW); //Tanke IconSetPlayerMapIcon(playerid, 22, 1169.5400,-1320.0100,24.2600, 22, COLOR_YELLOW); //Krankenhaus IconSetPlayerMapIcon(playerid, 52, 1166.1927,-1641.5510,14.0000, 52, COLOR_YELLOW); // /Bank LS IconSetPlayerMapIcon(playerid, 27, -1935.9150,237.0524,34.3125, 27, COLOR_YELLOW); //Tuning Garage IconSetPlayerMapIcon(playerid, 27, -2714.2554,217.5764,4.2854, 27, COLOR_YELLOW); //Tuning Garage Icon 2 für S E TSetPlayerMapIcon(playerid, 61, 2769.3811,-1943.4061,13.3762, 61, COLOR_YELLOW); //Varrios Los Aztecas IconSetPlayerMapIcon(playerid, 6, 1368.4399,-1279.7990,13.5469, 6, COLOR_YELLOW); //AmmunationSetPlayerMapIcon(playerid, 45, 1457.4734,-1137.6210,23.9780, 45, COLOR_YELLOW); //Skin ShopSetPlayerMapIcon(playerid, 25, 1396.9078,-1569.9150,14.3077, 25, COLOR_YELLOW); // /Stadthalle LS Icon}if(PlayerInfo[playerid][pGangJailed] == 1){SetPlayerInterior(playerid, 0);SetPlayerVirtualWorld(playerid, 0);SetPlayerPos(playerid, -86.5283,-103.4094,3.1181);SendClientMessage(playerid, COLOR_LIGHTRED, " Du befindest dich noch im GangJail!");return 1;}if(PlayerInfo[playerid][pwJailed] == 1){SetPlayerInterior(playerid, 0);SetPlayerVirtualWorld(playerid, 0);SetPlayerPos(playerid, 769.7139,-1446.7474,13.7101);SendClientMessage(playerid, COLOR_LIGHTRED, " Du befindest dich noch im wJail!");return 1;}return 1;}
GW_OnPlayerSpawn
forward GW_OnPlayerSpawn(playerid);public GW_OnPlayerSpawn(playerid){if(!GetPVarInt(playerid,"Spawned")){SetPVarInt(playerid,"Spawned",1);for(new fs;fs<sizeof(FightSystem);fs++){if(FightSystem[fs][fsAttackFaction] != -255 && FightSystem[fs][fsFightTime]){GangZoneFlashForPlayer(playerid,FightSystem[fs][fsZoneID],GetZoneColorOfFaction(FightSystem[fs][fsAttackFaction]));if(GetPlayerFaction(playerid) == FightSystem[fs][fsOwnerFaction] || GetPlayerFaction(playerid) == FightSystem[fs][fsAttackFaction]){TextDrawShowForPlayer(playerid,GANGFIGHT);TextDrawShowForPlayer(playerid,FightSystem[fs][fsWinFaction]);TextDrawShowForPlayer(playerid,FightSystem[fs][fsLoseFaction]);TextDrawShowForPlayer(playerid,FightSystem[fs][fsWinKills]);TextDrawShowForPlayer(playerid,FightSystem[fs][fsLoseKills]);TextDrawShowForPlayer(playerid,FightSystem[fs][fsTime]);}}}}return 1;}
MFG
ich glaub ermeinte OnPlayerDeaht und GW_OnPlayerDeaht
Nein, Actor kann man leider nicht in ein Fahrzeug setzen
Sowas wäre aber mit NPCs möglich
Danke dir erstmal für deine schnelle Information könntest du mir eine "Kleine" start hilfe geben? habe in der ganzen zeit wo ich "scripter" bin nicht einmal mit NPC gearbeitet (#ShameOnMe ).
Ist es Möglich das ein Actor als "Taxifahrer" umfährt den man per Anruf rufen kann?
Alles anzeigenHallo Leute
Kann man eig auch anders fragen ob der Cop der Killer ist. Weil mein Gang System also nur die Gangs haben ein eigenes OnPlayerDeath. Es heißt Gw_OnPlayerDeath voll die kacke irgendwie.
Das Problem ist dass bei OnPlayerDeath überlist es die Gang/Mafia Mitglieder und die landen nicht im Knast. Können wir es irgendwo anders einfügen z.B bei OnPlayerStatChange?? aber da ist das Wort Killerid ein Fehler.
Ich freue mich auf eure Hilfe
if (WantedLevel[playerid] >= 1){new price = WantedLevel[playerid] * 150;//new count;if (IsACop(killerid)){// COPformat(string, sizeof(string), "COPKILL", price);GameTextForPlayer(killerid, string, 2000, 1);ConsumingMoney[killerid] = 1;FraktionsKasse[0] += price/2;FraktionsKasse[1] += price/2;FraktionsKasse[2] += price/2;PlayerPlaySound(killerid, 1058, 0.0, 0.0, 0.0);// VERBRECHERGivePlayerMoney(playerid, -price);PlayerInfo[playerid][pWantedDeaths] += 1;PlayerInfo[playerid][pJailed] = 1;SpawnPlayer(playerid);PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid] * 120);format(string, sizeof(string), "Du musst für %d Sekunden ins Gefängnis-[Strafe: $%d]", PlayerInfo[playerid][pJailTime], price);GameTextForPlayer(playerid, "~r~BUSTED", 2300,5);SendClientMessage(playerid, rot, string);WantedPoints[playerid] = 0;WantedLevel[playerid] = 0;SetPlayerVirtualWorld(playerid, 0);}}
Mit freundlichen Grüßen
Füg mal das "GW_OnPlayerDeath" nach der if(isCop) abfrage ein und teste es erneut
#'EDIT
Meine nach der "if (WantedLevel[playerid] >= 1)" abfrage
Ist der Streamer den auch auf der Aktuellsten Version?
Gilt das Angebot noch?
#Push
Such noch immer Mapper & Supporter.
Kennt niemand eine Lösung oder den Grund für das Problem?
Man bräuchte dazu mal logs vom Server (Wenn es nicht auf jedem Server ist)
Folgt wir haben grade Crashdetect drauf gemacht und nen screen
Guten Abend,
Ich habe grad mal mein Script auf einen Linux Server gespielt, wenn ich allerdings Connecte und ein paar Minuten drauf bleibe verliert mein Client die Verbindung zum Server, Server ist aber noch Online woran kann dies Liegen?
Wenn andere connecten passiert das gleiche.
Ich bin mal so frech und würde mich als Mapper melden, allerdings habe ich eine Frage, ich hoffe Teamspeak ist keine Pflicht ansonsten würde ich mich bereitstellen als mapper.Zudem würdet ihr Mich als aktiven Stammspieler, sofern ich nicht gerade Mappe, bekommen.
Würde die Maps auch ohne Gegenleistung für euch Mappen sofern es euch gefällt.... dazu via PN, bei Interesse....
Habe dir eine Privat Nachricht zukommen lassen.
#Push 03.08.2018
Wir suchen aktuell noch:
Und jemand der gut mit Textdraws "designen" kann.
Wer kennt noch German Roleplay?
Das war einer meiner ersten Server wo ich damals gespielt habe.
#VermisseDieseZeiten
@JustMeAndMyLife Du hast einen fehler in deinem Mysql Syntax.
oh fuck sry hab ich voll übersehen danke