Beiträge von Time2Script

    setz doch einfach beim auto eine variable das es abgeschleppt wurde
    und lass wenn er einsteigt abfragen ob abgeschleppt oder nicht
    dann schmeiste ihn aus dem auto wenn er es nicht freikauft
    ist doch besser als löschen und neu createn oder ?

    Ja aber wenn dann soll es am OAmt sein weil sonst is ja net real

    Autohaus von Ping



    Guten Morgen, liebe Community


    Ich benutze das Autohaus von Ping, ich will das wenn das auto am Oamthaken hängt (Schon eingebaut) das der Oamtler wo an einen Punkt fährt und an diesem punkt z.b /abgeschleppt eingeben muss das das auto dann verschwindet und ein user an einen Punkt muss um sein Auto mit /freikaufen freigekauft wird und es an der oamt base Spawnt ist dies machbar denn ich habe einiges versucht und die Sufu auch genutzt aber bekomme es nicht hin... X(


    Mfg

    Guten Tag liebe Community,


    Ich habe ein Problem mit meinen Licenses.
    Wenn Ich keinen Schein habe und in die Fahrzeuge steige passiert nichts bitte um Hilfe..
    Das heißt ich kann damit fahrn obwohl ich das so machen will das ich sie ohne Licens nicht fahren kann...


    Hier der Code:

    PHP
    forward IsAPlane(carid);forward IsABoat(carid);forward IsAHeli(carid);forward IsABike(carid);forward IsANoLicVehicle(carid);forward IsAlkw(carid);



    PHP
    public IsABoat(carid){	if(carid==430||carid==446||carid==452||carid==453||carid==454||carid==472||carid==473||carid==484||carid==493||carid==595)	{		return 1;	}	return 0;}
    public IsAHeli(carid){	if(carid==417||carid==425||carid==447||carid==489||carid==488||carid==487||carid==497||carid==548||carid==563)	{		return 1;	}	return 0;}
    public IsABike(carid){	if(carid==461||carid==463||carid==468||carid==471||carid==521||carid==522||carid==523||carid==581||carid==586)	{		return 1;	}	return 0;}
    public IsANoLicVehicle(carid){	new modelid = GetVehicleModel(carid);	if(modelid == 462 || modelid == 509 || modelid == 481 || modelid == 510)	{		return 1;	}	return 0;}
    public IsAlkw(carid){	if(carid==403||carid==406||carid==408||carid==433||carid==443||carid==455||carid==486||carid==514||carid==515||carid==524||carid==573||carid==578)	{		return 1;	}	return 0;}
    public IsAPlane(carid){	if(carid==460||carid==476||carid==511||carid==512||carid==513||carid==519||carid==520||carid==553||carid==563||carid==577||carid==592||carid==593)	{		return 1;	}	return 0;}


    PHP
    if(newstate == PLAYER_STATE_DRIVER) //buggy dont finnish	{// 38 / 49 / 56 = SS		new newcar = GetPlayerVehicleID(playerid);		new oldcar = gLastCar[playerid];		new housecar = PlayerInfo[playerid][pPhousekey]+1;		TelePos[playerid][0] = 0.0;		TelePos[playerid][1] = 0.0;		if(IsABoat(newcar))		{		    if(PlayerInfo[playerid][pBoatLic] < 1)			{			    SendClientMessage(playerid, COLOR_GREY, " Du hast kein Bootschein");			    RemovePlayerFromVehicle(playerid);
    			}		}		else if(IsAPlane(newcar))		{		    if(PlayerInfo[playerid][pFlyLic] < 1)			{			    if(TakingLesson[playerid] == 1) { }			    else				{					SendClientMessage(playerid, COLOR_GREY, "Du hast noch keinen Flugschein!");					SendClientMessage(playerid, COLOR_GREY, "Es wird dir nun die Position der Flugscheinprüfung auf der Karte angezeigt.");					RemovePlayerFromVehicle(playerid);					SetPlayerCheckpoint(playerid, 1961.6835,-2186.3857,13.5469, 5.0);				}			}		}		else if(IsAHeli(newcar))		{		    if(PlayerInfo[playerid][pHeliLic] < 1)			{			    if(TakingLesson[playerid] == 1) { }			    else				{					SendClientMessage(playerid, COLOR_GREY, "Du hast noch keinen Flugschein!");					SendClientMessage(playerid, COLOR_GREY, "Es wird dir nun die Position der Flugscheinprüfung auf der Karte angezeigt.");					RemovePlayerFromVehicle(playerid);					SetPlayerCheckpoint(playerid, 1961.6835,-2186.3857,13.5469, 5.0);				}			}		}		else if(IsABike(newcar))		{		    if(PlayerInfo[playerid][pBikeLic] < 1)			{			    if(TakingLesson[playerid] == 1) { }			    else				{					SendClientMessage(playerid, COLOR_GREY, "Du hast noch keinen Motorrad Schein!");					SendClientMessage(playerid, COLOR_GREY, "Es wird dir nun die Position der Motorradscheinprüfung auf der Karte angezeigt.");					RemovePlayerFromVehicle(playerid);					SetPlayerCheckpoint(playerid, 1357.9976,-1626.3860,13.5908, 5.0);				}			}		}		else if(IsAlkw(newcar))		{		    if(PlayerInfo[playerid][plkwLic] == 0)			{			    if(TakingLesson[playerid] == 0)				{					SendClientMessage(playerid, COLOR_GREY, "Du hast noch kein LKW Schein!");					SendClientMessage(playerid, COLOR_GREY, "Es wird dir nun die Position der LKW Scheinprüfung auf der Karte angezeigt.");					RemovePlayerFromVehicle(playerid);					SetPlayerCheckpoint(playerid, 70.9459,-243.8313,1.5781, 5.0);				}			}		}		else if(IsANoLicVehicle(newcar)) { }		else		{			if(PlayerInfo[playerid][pCarLic] < 1)			{			    if(PlayerDrunk[playerid] >= 5)				{				    WantedPoints[playerid] += 1;					SetPlayerCriminal(playerid,255, "Betrunken am Steuer...");				}				if((TakingLesson[playerid] == 1))				{				}				else {				SendClientMessage(playerid, COLOR_GREY, "Du hast noch keinen Führerschein!");				SendClientMessage(playerid, COLOR_GREY, "Du kannst diesen an der /navi Fahrschule machen.");                RemovePlayerFromVehicle(playerid);				return 1; }			}			else if(PlayerDrunk[playerid] >= 5)			{			    WantedPoints[playerid] += 1;				SetPlayerCriminal(playerid,255, "Betrunken am Steuer...");			}			else if(PlayerDrunk[playerid] >= 5)			{			    WantedPoints[playerid] += 1;				SetPlayerCriminal(playerid,255, "Betrunken am Steuer...");			}		}


    Kann jemand helfen?


    Mfg
    Oliver_Bellic

    Rank kann nicht angezeigt werden musst schon schreiben was Rtext sein soll...



    new rtext[20]; if(PlayerInfo[targetid][pJob] == 1) { jtext = "1"; } //Oder eben rangnamen :D else if(PlayerInfo[targetid][pJob] == 2) { jtext = "2"; } else if(PlayerInfo[targetid][pJob] == 3) { jtext = "3"; } else if(PlayerInfo[targetid][pJob] == 4) { jtext = "4"; } else if(PlayerInfo[targetid][pJob] == 5) { jtext = "5"; }



    Mfg

    wenn ich weniger als 100 mache

    C:\Users\Oliver\Desktop\Server\reallife county srv\gamemodes\rockstar.pwn(39967) : error 032: array index out of bounds (variable "JoinPed")C:\Users\Oliver\Desktop\Server\reallife county srv\gamemodes\rockstar.pwn(39967) : error 032: array index out of bounds (variable "JoinPed")C:\Users\Oliver\Desktop\Server\reallife county srv\gamemodes\rockstar.pwn(39968) : error 032: array index out of bounds (variable "JoinPed")C:\Users\Oliver\Desktop\Server\reallife county srv\gamemodes\rockstar.pwn(39968) : error 032: array index out of bounds (variable "JoinPed")error 018: initialization data exceeds declared sizeC:\Users\Oliver\Desktop\Server\reallife county srv\gamemodes\rockstar.pwn(2646) : error 010: invalid function or declaration



    mfg

    new JoinPed[100][1] = {{194},{60},{282},{280},{283},//LSPD Skins{194},{250},{267},{265},{288}, //SFPDSkins{194},{287}, //Armee Skins{76},{274},{275},{276},{70}, // MedicsSkins{111},{125},{126},{113}, //LCN Skins{224},{123},{122},{186}, //Yakuza Skins{141},{164},{163}, {255},{147},{17}, //Presiskins{21}, {20},{22}, {29}, {192}, //Hitman Skins{219}, {227},{187}, //News skins{193}, {23},{292},{48}, //The Riders skins{172},{171}, //fahrschul Skins{56},{105},{107},{106},{269},{271},{270}, //Gove skin{195},{103}, {102}, {104}, //Ballas Skins{190}, {170}, {180}, {189}, {19}, //RS Skins{91}, {108},{109}, {110}, //Vagos skins{41}, {116}, {115}, {114}, //Aztetacs skins{69},{174},{175},{173}, // Rifa Skins{98}, {55},{272},{124}, //Brigada{21},{20},{22},{29},{192}, //Terror{286}, {194}, //FBI{169},{294},{117},{118},{120}, //triaden{21},{20},{22}, {29},{192}, //Wheel{71}, {150}, //oamt{233}, {277},{254},{248} //BikerBoys};



    if(SelectChar[playerid] == 255) { new idx; tmp = strtok(text, idx); if ((strcmp("weiter", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("weiter"))) { switch (SelectCharID[playerid]) { case 1: // LSPD { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[0][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[0][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[1][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[1][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[2][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[2][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[3][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[3][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[4][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[4][0]; } } case 2: // SFPD { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[5][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[5][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[6][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[6][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[7][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[7][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[8][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[8][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[9][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[9][0]; } } case 3: // Army { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[10][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[10][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[11][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[11][0]; } } case 4: // Medic { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[12][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[12][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[13][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[13][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[14][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[14][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[15][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[15][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[16][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[16][0]; } } case 5: //La Cosa Nostra { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[17][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[17][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[18][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[18][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[19][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[19][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[20][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[20][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[21][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[21][0]; } } case 6: //Yakuza { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[22][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[22][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[23][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[23][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[24][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[24][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[25][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[25][0]; } } case 7: //Präsident { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[26][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[26][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[27][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[27][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[28][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[28][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[29][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[29][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[30][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[30][0]; } else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[31][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[31][0]; } } case 8: //Hitman Agency { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[32][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[32][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[33][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[33][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[34][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[34][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[35][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[35][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[36][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[36][0]; } } case 9: //News Reporters { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[37][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[37][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[38][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[38][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[39][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[39][0]; } } case 10: //The Riders { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[40][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[40][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[41][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[41][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[42][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[42][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[43][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[43][0]; } } case 11: //Driving/Flying School { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[44][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[44][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[45][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[45][0]; } } case 13: //Grove Street { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[46][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[46][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[47][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[47][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[48][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[48][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[49][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[49][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[50][0]); SelectCharPlace[playerid] = 6; ChosenSkin[playerid] = JoinPed[50][0]; } else if(SelectCharPlace[playerid] == 6) { SetPlayerSkin(playerid, JoinPed[51][0]); SelectCharPlace[playerid] = 7; ChosenSkin[playerid] = JoinPed[51][0]; } else if(SelectCharPlace[playerid] == 7) { SetPlayerSkin(playerid, JoinPed[52][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[52][0]; } } case 14: //Ballas { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[53][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[53][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[54][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[54][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[55][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[55][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[56][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[56][0]; } } case 15: //RS { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[57][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[57][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[58][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[58][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[59][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[59][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[60][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[60][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[61][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[61][0]; } } case 16: //Los Santos Vagos { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[62][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[62][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[63][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[63][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[64][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[64][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[65][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[65][0]; } } case 17: //Varios Los Aztecas { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[66][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[66][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[67][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[67][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[68][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[68][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[69][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[69][0]; } } case 18: //San Fierro Rifa { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[70][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[70][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[71][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[71][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[72][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[72][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[73][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[73][0]; } } case 19: //Brigader { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[74][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[74][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[75][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[75][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[76][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[76][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[77][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[77][0]; } } case 20: //Terror { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[78][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[78][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[79][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[79][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[80][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[80][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[81][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[81][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[82][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[82][0]; } } case 21: // FBI { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[83][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[83][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[84][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[84][0]; } } case 22: // Triaden { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[85][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[85][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[86][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[86][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[87][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[87][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[88][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[88][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[89][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[89][0]; } } case 23: // Wheelmans { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[90][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[90][0]; } if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[91][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[91][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[92][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[92][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[93][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[93][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[94][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[94][0]; } } case 24: // Ordnungsamt { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[95][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[95][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[96][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[96][0]; } } case 25: //BikerBoyZ { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[97][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[97][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[98][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[98][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[99][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[99][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[100][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[100][0]; } } } return 0; }



    Error:error 052: multi-dimensional arrays must be fully initialized



    Bitte um Hilfe habe schon fast alles Ausprobiert.


    Mfg

    zu denn anderen news
    new spielerchat;


    unter Ongamemodeinit:
    spielerchat = 1; //Wenn du willst das der ochat beim Serverstart aus ist dann 1 auf 0 setzen



    unter onplayercommandtextif(strcmp(cmd, "/oan", true) == 0){if (PlayerInfo[playerid][pAdmin] >= 1){spielerchat = 1;GetPlayerName(playerid, sendername, sizeof(sendername));format(string, sizeof(string), "%s hat denn Chat Eingeschalten.", sendername);SendClientMessageToAll(COLOR_RED, string);format(string, sizeof(string), "Benutzen sie /o (Text) um darin zu Schreiben.");SendClientMessageToAll(COLOR_RED, string);}return 1;}if(strcmp(cmd, "/oaus", true) == 0){if (PlayerInfo[playerid][pAdmin] >= 1){spielerchat = 0;GetPlayerName(playerid, sendername, sizeof(sendername));format(string, sizeof(string), "%s hat denn Chat Ausgeschalten.", sendername);SendClientMessageToAll(COLOR_RED, string);}return 1;}
    in deinem Befehl /o


    if(spielerchat == 1){//was Passieren soll wenn er an istelse{SendClientMessage(playerid, COLOR_WHITE, "Der Spieler-Chat ist Ausgeschalten.");}


    Das wars :D

    Das wird wieder ein 1 Woche Projekt. Zudem finde ich es witzig das du ab 100-200 Usern eine .de Domain kaufen willst, da du (mit einer .tk Domain erst recht nicht) nicht soviele bekommen wirst.


    Wünsche dir trotzdem viel Glück.


    Achja, Forum gefällt mir nicht, Standartstil, unpassender Header usw.

    Es geht mir nicht um die User Zahl ich will eine Community die Aktiv ist und das Forum gut findet keine Spammer o.ä Ich finde zudem eine .tk domain nicht schlecht und ne .de oder .net mache ich erst wenn das Projekt gut läuft!


    Trozdem Danke
    Mfg

    Guten Morgen liebe Community,


    Ich möchte euch mein Forum Vorstellen.


    Es geht um Spiele aller art, ich dachte mir ist doch gut wenn sich User gegenseitig Tipps geben wie man in einem Spiel Vorankommt.
    Ich suche Natürlich auch Moderatoren für die Einzelnen Bereiche.
    Ich werde dem Forum bei ca. 100-200 Usern eine .de Domain kaufen & einen Besseren Server Anbieter.
    Für alle die nun Glauben das wir keine Lizens haben die können uns gerne Melden und sich vom Gegenteil überzeugen.


    Forum: Gamers4All


    Mfg

    1.) Ich würd ma aufpassen wie du mit Älteren Rädest.
    2.) Auf dein Niveau lass ich mich nicht Runter wenn du über haubt weißt was das wort "Niveau" Bedeutet.
    3.) Dein IQ beträgt 10. Brot hat einen IQ von 13.
    4.)
    Also verhalte dich ma mit Niveau wenn du willst das andere User/Menschen dich Respektieren!
    5.) Wenn ich mir deine Beiträge so ansehe sehe ich nix was Sinn macht?

    Mfg

    du machst nun:


    new kofferraum[MAX_PLAYERS];
    Unter den Befehl /wo man Kofferaum auf macht:
    kofferraum[playerid] == 1
    Unter den Befehl /wo man Kofferaum zumacht:
    kofferraum[playerid] == 0
    Unter denn "put o.ä Befehl:
    if(kofferraum[playerid] == 1)
    {
    //Was Passieren Soll.
    }

    Baam =)
    #define Neonlichter 1 //mit deiner ID Besetzen die (1)
    if (strcmp("/neon", cmdtext, true) == 0)
    {
    ShowPlayerDialog(playerid, Neonlichter, DIALOG_STYLE_LIST, "Neonlichter Menu", "Blau\nusw", "Auswählen", "Abbrechen");
    return 1;
    }
    if(dialogid == Neonlichter) //Neon Röhren
    {
    if(response)
    {
    if(listitem == 0) //Blau
    {
    new vehid,neon,neon1;
    vehid = GetPlayerVehicleID(playerid);
    neon = CreateObject(18648,0,0,0,0,0,0,283); //Object id :D
    neon1 = CreateObject(18648,0,0,0,0,0,0,283); //Object id :D
    AttachObjectToVehicle(neon, vehid, 0.8,0,-0.70,0,0,0); //Object 1 "links"
    AttachObjectToVehicle(neon1, vehid, -0.8,0,-0.70,0,0,0);//Object 2 "rechts" d.h 2neonröhren pro car
    }
    }
    //usw
    }


    Mfg