Mach es doch mit pickups Wen er Pickup xy aufnimmt portet er sich nach yx
Beiträge von DopeFire
-
-
Nein ist nicht doppelt im Script Vorhanden . Und FS hab ich auch keins mit /enter bzw /exit
//e hier der exit befehl ( der auch nicht geht )
if(strcmp(cmd, "/exit", true) == 0)
{
if(IsPlayerConnected(playerid))
{
for(new i = 0; i < sizeof(HouseInfo); i++)
{
//printf("House :%d",i);
if (PlayerToPoint(3, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez]);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
if(HouseInfo[i][hHel] == 1)
{
new Float:tempheal;
GetPlayerHealth(playerid,tempheal);
if(tempheal < 100.0)
{
SetPlayerHealth(playerid,100.0);
}
}
}
}
for(new i = 0; i < sizeof(BizzInfo); i++)
{
//printf("Bizz :%d",i);
if (PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ]))
{
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]);
PlayerInfo[playerid][pLocal] = 255;
}
}
if(GetPlayerVehicleID(playerid) >= 71 && GetPlayerVehicleID(playerid) <= 77)
{
TogglePlayerControllable(playerid, 1);
//RemovePlayerFromVehicle(playerid);
}
else if (PlayerToPoint(3.0, playerid,387.7978,173.8582,1008.3828))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1479.9386,-1769.6519,18.7958);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(3.0, playerid,2324.399902,-1147.500000,1050.699951))//Haus 35, Innen Koordianten und dann Virtuele Welt
{
SetPlayerInterior(playerid,0);//Interior
SetPlayerPos(playerid,1258.6598,-785.2664,92.0302);//enter Koordinaten
SetPlayerFacingAngle(playerid, 90.00);//Spieler drehung
PlayerInfo[playerid][pInt] = 0;//Interior
}
else if (PlayerToPoint(5.0, playerid,6299.318359375,-2245.9672851563,28.191822052002))// ND INTERIOR
{
SetPlayerInterior(playerid,0);//Interior
SetPlayerPos(playerid,2195.4722,1676.9705,12.3672);//enter Koordinaten
SetPlayerFacingAngle(playerid, 90.00);//Spieler drehung
PlayerInfo[playerid][pInt] = 0;//Interior
}
else if (PlayerToPoint(3.0, playerid,246.3760,109.2460,1003.2188))//Haus 35, Innen Koordianten und dann Virtuele Welt
{
SetPlayerInterior(playerid,0);//Interior
SetPlayerPos(playerid,1568.8380,-1690.8846,5.8906);//enter Koordinaten
PlayerInfo[playerid][pInt] = 0;//Interior
}
else if (PlayerToPoint(3.0, playerid,246.2502,110.1090,1003.2257))//WK
{
SetPlayerInterior(playerid,0);//Interior
SetPlayerPos(playerid,1568.7108,-1690.7501,5.8906);//enter Koordinaten
PlayerInfo[playerid][pInt] = 0;//Interior
}
else if (PlayerToPoint(6.0, playerid,-1404.5299,-259.0602,1043.6563))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2695.6235,-1704.6960,11.8438);
}
else if (PlayerToPoint(8.0, playerid,-1443.0554,-581.1879,1055.0472))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2111.5686,-443.9720,38.7344);
}
else if (PlayerToPoint(8.0, playerid,-1464.7732,1557.5533,1052.5313))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2080.3079,-406.0309,38.7344);
}
else if(NoFuel[playerid] == 1)
{
TogglePlayerControllable(playerid, 1);
RemovePlayerFromVehicle(playerid);
NoFuel[playerid] = 0;
}
}
return 1;
}//edit ² fuck off gl_property´s
-
Guten Morgen ,
Ich habe ein Problem mit 2x Port Befehlen beide Zeigen keine Reaktion obwohl ich kein Fehler finde
if(strcmp(cmd, "/enter", true) == 0)
{
if(IsPlayerConnected(playerid))
{
for(new i = 0; i < sizeof(HouseInfo); i++)
{
if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
{
//printf("Found House :%d",i);
if(PlayerInfo[playerid][pPhousekey] == i || HouseInfo[i][hLock] == 0)
{
SetPlayerInterior(playerid,HouseInfo[i][hInt]);
SetPlayerPos(playerid,HouseInfo[i][hExitx],HouseInfo[i][hExity],HouseInfo[i][hExitz]);
GameTextForPlayer(playerid, "~w~Willkommen Zuhause", 5000, 1);
PlayerInfo[playerid][pInt] = HouseInfo[i][hInt];
PlayerInfo[playerid][pLocal] = i;
}
else
{
GameTextForPlayer(playerid, "~r~Geschlossen!", 5000, 1);
}
}
}
for(new i = 0; i < sizeof(BizzInfo); i++)
{
if (PlayerToPoint(3, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]))
{
//printf("Found House :%d",i);
if(!IsACop(playerid) && i == 3)
{
SendClientMessage(playerid, COLOR_GREY, "Nur Polizisten!");
return 1;
}
if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= BizzInfo[i][bEntranceCost])
{
if(PlayerInfo[playerid][pPbiskey] != i)
{
if(BizzInfo[i][bLocked] == 1)
{
GameTextForPlayer(playerid, "~r~Geschlossen!", 5000, 1);
return 1;
}
if(BizzInfo[i][bProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Außerhalb der Zone", 5000, 1);
return 1;
}
GivePlayerMoney(playerid,-BizzInfo[i][bEntranceCost]);
format(string, sizeof(string), "~r~-%d$~n~~w~tippe /exit~n~um auszusteigen", BizzInfo[i][bEntranceCost]);
BizzInfo[i][bTill] += BizzInfo[i][bEntranceCost];
ExtortionBiz(i, BizzInfo[i][bEntranceCost]);
BizzInfo[i][bProducts]--;
OnPropUpdate();
GameTextForPlayer(playerid, string, 5000, 3);
}
SetPlayerInterior(playerid,BizzInfo[i][bInterior]);
SetPlayerPos(playerid,BizzInfo[i][bExitX],BizzInfo[i][bExitY],BizzInfo[i][bExitZ]);
PlayerInfo[playerid][pInt] = BizzInfo[i][bInterior];
PlayerInfo[playerid][pLocal] = i+99;
new dood[MAX_PLAYER_NAME];
GetPlayerName(playerid, dood, sizeof(dood));
format(string, sizeof(string), "%s hat %d$ bezahlt um das Unternehmen %d zu betreten", dood, BizzInfo[i][bEntranceCost], i);
printf("%s", string);
PayLog(string);
//PlayerInfo[playerid][pLocal] = i;
}
else
{
GameTextForPlayer(playerid, "~r~Du hast nicht genug Geld!", 5000, 1);
}
}
}
for(new i = 0; i < sizeof(SBizzInfo); i++)
{
if (PlayerToPoint(3, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ]))
{
if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= SBizzInfo[i][sbEntranceCost])
{
if(PlayerInfo[playerid][pPbiskey] != i)
{
if(SBizzInfo[i][sbLocked] == 1)
{
GameTextForPlayer(playerid, "~r~Geschlossen!", 5000, 1);
return 1;
}
if(SBizzInfo[i][sbProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Außerhalb der Zone", 5000, 1);
return 1;
}
if(i == 10)
{
PaintballPlayers ++;
PlayerPaintballing[playerid] = 1;
new rand = random(sizeof(PaintballSpawns));
SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]);
TogglePlayerControllable(playerid, 0);
}
else if(i == 11)
{
PlayerKarting[playerid] = 1;
SendClientMessage(playerid, TEAM_GROVE_COLOR, "Du kannst am Kart Race teilnehmen. Steig in ein Kart.");
}
else
{
return 1;
}
GivePlayerMoney(playerid,-SBizzInfo[i][sbEntranceCost]);
gSpentCash[playerid] = GetPlayerMoney(playerid);
SBizzInfo[i][sbProducts]--;
SBizzInfo[i][sbTill] += SBizzInfo[i][sbEntranceCost];
ExtortionSBiz(i, SBizzInfo[i][sbEntranceCost]);
new dood[MAX_PLAYER_NAME];
GetPlayerName(playerid, dood, sizeof(dood));
format(string, sizeof(string), "%s hat %d$ bezahlt um das Unternehmen %d zu betreten", dood, SBizzInfo[i][sbEntranceCost], i);
printf("%s", string);
PayLog(string);
OnPropUpdate();
}
}
else
{
GameTextForPlayer(playerid, "~r~Du hast nicht genug Geld!", 5000, 1);
}
}
}
if (PlayerToPoint(3.0, playerid,1481.1877,-1769.5936,18.7958))
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,387.7978,173.8582,1008.3828);
GameTextForPlayer(playerid, "~w~Willkommen im Rathaus", 5000, 1);
PlayerInfo[playerid][pInt] = 3;
PlayerInfo[playerid][pLocal] = 241;
}
else if (PlayerToPoint(3.0, playerid,-548.9719,-180.5455,78.4063))
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
{
SetPlayerInterior(playerid,2); //normal 2
SetPlayerPos(playerid,1205.0947,-10.1685,1000.9219); //original
PlayerInfo[playerid][pInt] = 2; //normal 2
PlayerInfo[playerid][pLocal] = 242;
}
}
else if (PlayerToPoint(3.0, playerid,2695.6235,-1704.6960,11.8438))
{
GameTextForPlayer(playerid, "~w~Willkommen zu 8ball", 5000, 1);
SetPlayerInterior(playerid,7);
SetPlayerPos(playerid,-1404.5299,-259.0602,1043.6563);
}
else if (PlayerToPoint(5.0, playerid,2195.4722,1676.9705,12.3672))
{
if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
GameTextForPlayer(playerid, "~w~Willkommen", 5000, 1);
SetPlayerPos(playerid,6299.318359375,-2245.9672851563,28.191822052002);
}
}
else if (PlayerToPoint(5.0, playerid,2526.6165,-1035.5824,69.5789))
{
if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
GameTextForPlayer(playerid, "~w~Willkommen", 5000, 1);
SetPlayerPos(playerid,4517.3721,-1732.8248,1.3128);
}
}
else if (PlayerToPoint(5.0, playerid,1711.9500,-2103.9241,13.5469))
{
if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
GameTextForPlayer(playerid, "~w~Willkommen", 5000, 1);
SetPlayerPos(playerid,4563.2769,-1729.3535,1.3750);
}
}
else if (PlayerToPoint(5.0, playerid,689.2095,-1276.3827,13.5590))
{
if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
GameTextForPlayer(playerid, "~w~Willkommen", 5000, 1);
SetPlayerPos(playerid,4468.2939,-1856.5135,6.4124);
}
}
else if (PlayerToPoint(3.0, playerid,2695.6235,-1704.6960,11.8438))
{
GameTextForPlayer(playerid, "~w~Willkommen zu 8ball", 5000, 1);
SetPlayerInterior(playerid,7);
SetPlayerPos(playerid,-1404.5299,-259.0602,1043.6563);
}
else if (PlayerToPoint(8.0, playerid,-2111.5686,-443.9720,38.7344))
{
GameTextForPlayer(playerid, "~w~Willkommen zu Dirt Track", 5000, 1);
SetPlayerInterior(playerid,4);
SetPlayerPos(playerid,-1443.0554,-581.1879,1055.0472);
}
else if (PlayerToPoint(8.0, playerid,-2080.3079,-406.0309,38.7344))
{
GameTextForPlayer(playerid, "~w~Willkommen zum Stunting Track", 5000, 1);
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,-1464.7732,1557.5533,1052.5313);
}
else if (PlayerToPoint(3.0, playerid,1258.6598,-785.2664,92.0302))//Haus 35, WO das man /enter macht
{
if(PlayerToPoint(3.0, playerid,1258.6598,-785.2664,92.0302))//Wo man /enter macht
{
SetPlayerPos(playerid,225.7898,1023.3518,1084.0122);//Interior ID (Innen Koordianten)
SetPlayerInterior(playerid,7);//Interior
PlayerInfo[playerid][pInt] = 7;//interior
}
}
else if (PlayerToPoint(3.0, playerid,1568.8380,-1690.8846,5.8906))//Haus 35, WO das man /enter macht
{
if(PlayerToPoint(3.0, playerid,1568.8380,-1690.8846,5.8906))//Wo man /enter macht
{
SetPlayerPos(playerid,246.3760,109.2460,1003.2188);//Interior ID (Innen Koordianten)
SetPlayerInterior(playerid,10);//Interior
PlayerInfo[playerid][pInt] = 10;//interior
}
}
else if (PlayerToPoint(3.0, playerid,1832.3160,-1125.1207,24.5590))///enter Punkt koordinaten einfügen
{
if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
GameTextForPlayer(playerid, "~w~La Cosa Nostra Casino", 5000, 1);// Text wenn ihr im Interior seit
SetPlayerInterior(playerid,1);//Interior zahl
SetPlayerVirtualWorld(playerid, 11); // Virtual World !!! So seht ihr keine anderen Spieler die diese IUnterior nutzen
SetPlayerPos(playerid,2233.8032,1712.2303,1011.7632);// Poistion die ihr aus dem Wiki habt.
}
}
}
return 1;
} -
Guten Tag ,
Also das Design ist sehr gut ! kannst du vllt das Hintergrund Bild uppen ? :>
Mit Freundlichen Grüßen
-
wsker welche MTA version hast du ?
-
Bei den Objekten ? unmöglich ich habe nach mehrer waffen id´s gesucht und alle nicht gefunden
-
Guten Tag
Ist es möglich mit mta waffen zu mappen ? Wen ja wie ? Unter
348 (deagle) findet er bei mir nämlich das obbjekt nicht -
-
Guten Tag ,
hab ein neues Problem und zwar hab ich in eine GM eine Funktion gefunden die Den gameText in ein 3d Text label macht aber bei mir sind die Labels alle unter der Farm in Dillimore Der Code
new house[35];
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(HouseInfo[h][hOwned] == 0)
{
format(house, sizeof(house),"HausNr.: %d, Preis: $%d \nLevel: %d",h+1, HouseInfo[h][hValue], HouseInfo[h][hLevel]);
AddStaticPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
if(HouseInfo[h][hOwned] == 1)
{
if(HouseInfo[h][hRentabil] != 0)
{
format(house, sizeof(house), "Besitzer: %s, Mietbar: Ja \nMietpreis: $%d",HouseInfo[h][hOwner],HouseInfo[h][hRent]);
}
else
{
format(house, sizeof(house), "Besitzer: %s, Mietbar: Nein",HouseInfo[h][hOwner]);
}
AddStaticPickup(1239, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
Create3DTextLabel(house,COLOR_WHITE, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],20.0,0);
}
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(BizzInfo[h][bOwned] == 0)
{
AddStaticPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
if(BizzInfo[h][bOwned] == 1)
{
AddStaticPickup(1239, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
}
for(new h = 0; h < sizeof(SBizzInfo); h++)
{
if(SBizzInfo[h][sbOwned] == 0)
{
AddStaticPickup(1272, 1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
pickups++;
}
if(SBizzInfo[h][sbOwned] == 1)
{
AddStaticPickup(1239, 1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
pickups++;
}
}Bekomme keine warning´s oder so nur die Labels sind an der falschen Position
Mit Freundlichen Grüßen
-
Danke probier ich direkt mal aus
Mit Freundlichen Grüßen
//e @ Internetink
Hier aus dem Server Log
[13:41:46] Pickups Max = 100, Current Pickups = 197
-
-
aber nun komme ich zu meinem Problem, ich will mich einloggen und jedes mal kommt da denn Falsches Passwort.
ich habe alles versucht aber irgendwie klappt das nicht.Helf mir
hast du auch dein Passwort Encryptet ? Du musst es in MD5 Umwandeln nicht einfach dein PW reinschreiben
-
So sollte es funktionieren.
dcmd_anzeigen(playerid, params[])
{
new aid,
zid,
Float:zposX,
Float:zposY,
Float:zposZ;
if (sscanf(params, "uu", aid,zid)) return SendClientMessage(playerid, 0xFF0000AA, "Benutze: \"/showpos \"");
if (aid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, "Spieler Nicht gefunden");
if (zid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, "Zielperson Nicht gefunden");
GetPlayerPos(zid, zposX, zposY, zposZ);
SetPlayerCheckpoint(aid, zposX, zposY, zposZ);
return 1;
}//E: Float vergessen
Danke, ich probier es gleich mal und melde mich dan wider
//edit
C:\Dokumente und Einstellungen\Fire_BnX\Desktop\Scripten\samp03bsvr_R2_win32\gamemodes\pate.pwn(29424) : error 017: undefined symbol "dcmd_anzeigen"
dcmd(anzeigen, 8, cmdtext);
//e Rechtschreibung
-
Guten Tag
gibt es eine Möglichkeit die Maxmialen Pickups (100) zu erweiter auf 150 ? 200 ?
Mit Freundlichen Grüßen
-
Guten Abend
Und zwar hab ich ein Problem mit einem Fs das ich geschrieben hab das Probelm immer wen ich /startwar mach geht der server off hier der code
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT#include <a_samp>
#include <dini>new Menu:VWar;
#if defined FILTERSCRIPT
new Menu:VWar;
new Menu:ladenmenu;
new Menu:getraenke;
new Menu:fastfood;
new Menu:snackspublic OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}public OnFilterScriptExit()
{
return 1;
}#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}#endif
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
VWar = CreateMenu("War Eintragen",2, 200.0, 150.0, 120.0, 50.0);
AddMenuItem(VWar,0, "Groove Street");
AddMenuItem(VWar,0, "Ballas");
AddMenuItem(VWar,0, "La Cosa Nostra");
AddMenuItem(VWar,0, "Red Soldiers");
AddMenuItem(VWar,0, "Nd´rangetha");
AddMenuItem(VWar,0, "V.L.Aztecas");
AddMenuItem(VWar,0, "Yakuza");
return 1;
}public OnGameModeExit()
{
return 1;
}public OnPlayerRequestClass(playerid, classid)
{
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}public OnPlayerConnect(playerid)
{
return 1;
}public OnPlayerDisconnect(playerid, reason)
{
return 1;
}public OnPlayerSpawn(playerid)
{
return 1;
}public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}public OnVehicleSpawn(vehicleid)
{
return 1;
}public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}public OnPlayerText(playerid, text[])
{
return 1;
}public OnPlayerCommandText(playerid, cmdtext[])
{if (strcmp("/startwar", cmdtext, true) == 0)
{
ShowMenuForPlayer(VWar, playerid);
return 1;
}
return 0;
}public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}public OnRconCommand(cmd[])
{
return 1;
}public OnPlayerRequestSpawn(playerid)
{
return 1;
}public OnObjectMoved(objectid)
{
return 1;
}public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}public OnPlayerSelectedMenuRow(playerid, row)
{
new Menu:CurrentMenu = GetPlayerMenu(playerid);
if(CurrentMenu == VWar)
{
switch(row)
{
case 0:
{
dini_Set("/scriptfiles/Warinfo/Vagos.ini", "Groove Street");
}
case 1:
{
dini_Set("/scriptfiles/Warinfo/Vagos.ini", "Ballas");
}
case 2:
{
dini_Set("/scriptfiles/Warinfo/Vagos.ini", "La Cosa Nostra");
}
case 3:
{
dini_Set("/scriptfiles/Warinfo/Vagos.ini", "Red Soldiers");
}
case 4:
{
dini_Set("/scriptfiles/Warinfo/Vagos.ini", "ND´rangetha");
}
case 5:
{
dini_Set("/scriptfiles/Warinfo/Vagos.ini", "V.L.Aztecas");
}
case 6:
{
dini_Set("/scriptfiles/Warinfo/Vagos.ini", "Yakuza");
}
}
}return 1;
} -
Zitat
label = Create3DTextLabel("Hallo dies ist ein 3D Text",0xFFFFFFFF,x,y,z,Virtuelle Welt,LOS);
Erklärung :
Erst tragt ihr den Inhalt eures Textes ein
Danach legt ihr eine Farbe fest , diese sind üblich auf Hex festgelegt ( warum auch nicht )
x,y,z = Die Koordinaten bzw. der Standard des Textes
Virtuelle Welt = Legt eine Zwischen Welt fest wo sie angezeigt werden soll ( -1 für alle Welten )
LOS = Soll der Text durch Objekte sichtbar sein ( true/false oder 1/0 ihr wisst wie ich es meine )^
Danke hatte es aus einem Tutorial | -
Guten Nachmittag,
Ich habe mich soeben mal an dcmd versucht nur weis ich nicht ob der von mir gewünschte effekt erzielt wird deswegen wollte ich euch mal fragen was diese funktion bringtdcmd_anzeigen(playerid, params[])
{
new aid;
new zid;
GetPlayerPos(zid, Floatx , Floaty, Floatz);
if (sscanf(params, "uu ", id)) SendClientMessage(playerid, 0xFF0000AA, "Benutze: \"/showpos <playerid> <Zielid>\"");
else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000AA, "Spieler Nicht gefunden");
else
{
SetPlayerCheckpoint(aid, Floatx, Floaty, Floatz);
SetPlayerCheckpoint(playerid, Floatx, Floaty, Floatz);
}
return 1;
}Ziel : Ich habe mir vorgestellt das man /anzeigen [A] [B]und man die position von A Person B zeigen kann
Hab ich das richtig gemacht nun meine frage ?^^
Mit Freundlichen Grüßen
// ziel verbessert
-
Guten Tag,
es gibt von Sa-mp schon ein filter script dabei die dies bezweckt es nicht sich gl_chatbubble
Mit Freundlichen Grüßen
-
Guten Morgen !
Ich habe grade ein Problem und zwar wird mein Text Label Nicht angezeigt
bei den New´s
new Text3D:FBID;
new Text3D:NDR;GameModeInit
NDR = Create3DTextLabel("Nd´rangetha base\n Level 99",0xFFFFFFFF,2195.4722,1676.9705,12.3672,0,0);
FBID = Create3DTextLabel("FBI Waffenkammer\n Benutze /duty ",0xFFFFFFFF,2266.9443,2447.5205,3.5313,0,0);Mit Freundlichen Grüßen
-
Danke geht