Nein, geht nicht.
Beiträge von Dark Leary
-
-
Hi immer wenn ich Pawno starte kommt diese fehlermeldung (Anhang) wisst ihr vlt, woran das liegt?
-
Geht super nur wenn ich dan reconnecte dan wird unten NoDm Zone nicht angezeigt..
-
Finde ich schik, 8/10 ich werde es später mal testen. wenn es dir nichts ausmacht werde ich für meinen Server ein Event machen... also ich werde den Script hochladen und alle testen lassen.
-
Ja, ich weiss text und bild ich habe das Bild geschnitten und einen text drauf... es ist meine aller erste sache
und es ist das gekaufte.
Photo Shop elements 8 -
-
Welche schriftart ist das?
-
Signatur [ ] ankreuzen
Header [X] ankreuzen
Name [YSL - Your Second Live]
Render? an besten ein ganzes design, nur wenn du willst ;D
Sonstige Wünsche: einen coole hintergrund von Gta -
Sieht geil aus.. dein Showroom ich hoffe du kannst du auch was cooles zusammen stellen
Text: Mysterio an besten oben Links und unten rechts Scripter & Mapper
Thema: ein Lamborghini oder das was ich als Avatar habe oder irgent was cooles lass dir etwas einfallen ich lasse mich überraschen
kann auch ein Car oder so von GTA sein an besten ein Feuerwehr oder Medic fahrzeug -
Wie meinst du?? ich poste einfach mal mein Setplayerspawn, OnPlayerSpawn, stock Login
OnPlayerSpawn
Spoiler anzeigen public OnPlayerSpawn(playerid)
{
AdminGod[playerid] = 0;
StopAudioStreamForPlayer(playerid);
if(!IsPlayerNPC(playerid)) return 0;
if(IsPlayerNPC(playerid))
{
PlayerInfo[playerid][pBuerger] = 1;
SpawnPlayer(playerid);
}
new playername[64];
GetPlayerName(playerid,playername,64);
SetPlayerColor(playerid,Weiss);
if(PlayerInfo[playerid][pBuerger] == 0)
{
SetPlayerPos(playerid,-348.1526,-1046.7405,59.8125);
SetPlayerSkin(playerid,212);
Zivilist[playerid][pmi_Checkpoint]=0;
Zivilist[playerid][pmi_bAktiv]=true;
SetPlayerCheckpoint(playerid,Zivistadtweg[0][M_fX],Zivistadtweg[0][M_fY],Zivistadtweg[0][M_fZ],Zivistadtweg[0][M_fRad]);
return 1;
}
else if(PlayerInfo[playerid][pBuerger] == 1||PlayerInfo[playerid][pMember] == 0||PlayerInfo[playerid][pLeader] == 0)
{
SetPlayerPos(playerid,1688.7246,-1343.7626,17.4297);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
return 1;
}
else if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pBuerger] == 2||PlayerInfo[playerid][pLeader] == 1)
{
SetPlayerPos(playerid, 219.2747,168.4384,1003.0234);
SetPlayerFacingAngle(playerid, 1.6324);
GivePlayerWeapon(playerid,24,300);
GivePlayerWeapon(playerid,31,300);
GivePlayerWeapon(playerid,29,300);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
SetPlayerInterior(playerid,3);
}
else if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pBuerger] == 3||PlayerInfo[playerid][pLeader] == 2)
{
SetPlayerPos(playerid, -91.2754,-130.7868,985.3281);
SetPlayerFacingAngle(playerid,347.1850);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
else if(PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pBuerger] == 4||PlayerInfo[playerid][pLeader] == 3)
{
SetPlayerPos(playerid, 1146.6512,-1316.8809,13.6355);
GivePlayerWeapon(playerid,41,8000);
GivePlayerWeapon(playerid,3,1);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
else if(PlayerInfo[playerid][pMember] == 5||PlayerInfo[playerid][pBuerger] == 6||PlayerInfo[playerid][pLeader] == 5)
{
SetPlayerPos(playerid, 152.0654,-259.0960,1.9178);
GivePlayerWeapon(playerid,41,8000);
GivePlayerWeapon(playerid,3,1);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
else if(PlayerInfo[playerid][pMember] == 6||PlayerInfo[playerid][pBuerger] == 7||PlayerInfo[playerid][pLeader] == 6)
{
SetPlayerPos(playerid, 1510.3889,-1469.4874,9.5000);
GiveGangWeapons(playerid);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
else if(PlayerInfo[playerid][pMember] == 7||PlayerInfo[playerid][pBuerger] == 8||PlayerInfo[playerid][pLeader] == 7)
{
SetPlayerPos(playerid, 1085.7412,-1233.0974,15.9387);
GiveGangWeapons(playerid);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
else if(PlayerInfo[playerid][pMember] == 8||PlayerInfo[playerid][pBuerger] == 9||PlayerInfo[playerid][pLeader] == 8)
{
SetPlayerPos(playerid, 1105.5029,-299.5828,74.5391);
GiveGangWeapons(playerid);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
if(PlayerInfo[playerid][pTot] == 1)
{
SendClientMessage(playerid, Grau, " ");
SendClientMessage(playerid, Grau, " ");
SendClientMessage(playerid, Grau, " ");
SendClientMessage(playerid, Grau, " ");
SendClientMessage(playerid, Grau, " ");
SendClientMessage(playerid, Grau, " ");
SendClientMessage(playerid, Grau, " ");
SendClientMessage(playerid, Grau, " ");
SendClientMessage(playerid, Grau, " ");
SendClientMessage(playerid, Rot, "|________ Am Krankenhaus ________|");
SendClientMessage(playerid, Rot, "Durch deine schweren Verletzungen liegst du im Koma!");
SendClientMessage(playerid, Grau, "Sie sind für 2-3 Minuten im Krankenhaus! In 2-3 Minuten kommen Sie wieder raus, da Sie gearde behandelt werden!");
ResetPlayerWeapons(playerid);
SetPlayerPos(playerid,1162.871704, -1339.109619, 14.297291);
SetPlayerCameraPos(playerid, 1223.379028, -1333.354126, 33.809105);
SetPlayerCameraLookAt(playerid, 1178.824829, -1325.804077, 13.284119);
TogglePlayerControllable(playerid, 0);
SetPlayerInterior(playerid,0);
return 1;
}
return 1;
}
SetPlayerSpawn
Spoiler anzeigen forward SetPlayerSpawn(playerid);
public SetPlayerSpawn(playerid)
{
if(IsPlayerConnected(playerid))
{//Sollte schon da stehen fügt den code einfach danach ein
if(PlayerInfo[playerid][pTot] == 1)
{
SendClientMessage(playerid, Rot, "Durch deine schweren Verletzungen liegst du im Koma");
TogglePlayerControllable(playerid, 0);
ResetPlayerWeapons(playerid);
SetPlayerPos(playerid,1162.871704, -1339.109619, 14.297291);
SetPlayerCameraPos(playerid, 1223.379028, -1333.354126, 33.809105);
SetPlayerCameraLookAt(playerid, 1178.824829, -1325.804077, 13.284119);
SetPlayerInterior(playerid, 0);
return 1;
}
}
SetPlayerColor(playerid,Weiss);
//SpawnPlayer(playerid);
if(PlayerInfo[playerid][pBuerger] == 0)
{
SetPlayerPos(playerid,-348.1526,-1046.7405,59.8125);
SetPlayerSkin(playerid,212);
Zivilist[playerid][pmi_Checkpoint]=0;
Zivilist[playerid][pmi_bAktiv]=true;
SetPlayerCheckpoint(playerid,Zivistadtweg[0][M_fX],Zivistadtweg[0][M_fY],Zivistadtweg[0][M_fZ],Zivistadtweg[0][M_fRad]);
return 1;
}
else if(PlayerInfo[playerid][pBuerger] == 1||PlayerInfo[playerid][pMember] == 0||PlayerInfo[playerid][pLeader] == 0)
{
SetPlayerPos(playerid,1688.7246,-1343.7626,17.4297);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
return 1;
}
else if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pBuerger] == 2||PlayerInfo[playerid][pLeader] == 1)
{
SetPlayerPos(playerid, 219.2747,168.4384,1003.0234);
SetPlayerFacingAngle(playerid, 1.6324);
GivePlayerWeapon(playerid,24,300);
GivePlayerWeapon(playerid,31,300);
GivePlayerWeapon(playerid,29,300);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
SetPlayerInterior(playerid,3);
}
else if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pBuerger] == 3||PlayerInfo[playerid][pLeader] == 2)
{
SetPlayerPos(playerid, -91.2754,-130.7868,985.3281);
SetPlayerFacingAngle(playerid,347.1850);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
else if(PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pBuerger] == 4||PlayerInfo[playerid][pLeader] == 3)
{
SetPlayerPos(playerid, 1146.6512,-1316.8809,13.6355);
GivePlayerWeapon(playerid,41,8000);
GivePlayerWeapon(playerid,3,1);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
else if(PlayerInfo[playerid][pMember] == 5||PlayerInfo[playerid][pBuerger] == 6||PlayerInfo[playerid][pLeader] == 5)
{
SetPlayerPos(playerid, 152.0654,-259.0960,1.9178);
GivePlayerWeapon(playerid,41,8000);
GivePlayerWeapon(playerid,3,1);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
else if(PlayerInfo[playerid][pMember] == 6||PlayerInfo[playerid][pBuerger] == 7||PlayerInfo[playerid][pLeader] == 6)
{
SetPlayerPos(playerid, 1510.3889,-1469.4874,9.5000);
GiveGangWeapons(playerid);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
else if(PlayerInfo[playerid][pMember] == 7||PlayerInfo[playerid][pBuerger] == 8||PlayerInfo[playerid][pLeader] == 7)
{
SetPlayerPos(playerid, 1085.7412,-1233.0974,15.9387);
GiveGangWeapons(playerid);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
else if(PlayerInfo[playerid][pMember] == 8||PlayerInfo[playerid][pBuerger] == 9||PlayerInfo[playerid][pLeader] == 8)
{
SetPlayerPos(playerid, 1105.5029,-299.5828,74.5391);
GiveGangWeapons(playerid);
SetPlayerSkin(playerid,(PlayerInfo[playerid][pSkin]));
}
SpawnPlayer(playerid);
return 1;
}
stock Login
Spoiler anzeigen stock Login(playerid,key[])
{
new Spielerdatei[128];
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.ini",SpielerName(playerid));
if(!strcmp(key,dini_Get(Spielerdatei,"Passwort"),false))
{
SpielerLaden(playerid);
SendClientMessage(playerid,Grün,"Du hast dich erfolgreich eingeloggt");
SetPlayerSpawn(playerid);
SpawnPlayer(playerid);
}
else
{
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login","Du hast leider ein falsches Passwort angegeben!\nBitte versuche es erneut!","Login","Abbrechen");
}
return 1;
} -
Doch. ich habe wie bei Godfather SetPlayerSpawn gemacht und wenn du lesen kannst steht da es ging davor einbahn frei.
-
Hi ich habe erst versucht so zu machen, das man da Spawnt wo man ausloggt, das habe ich Rausgenommen
und alles so gemacht wie es vorher war aber
nun fällt man immer bei der Blueberry farm von Himmel.....
Woran liegt das?? es ging davor perfect.. -
SetPlayerPos(playerid,PlayerInfo[playerid][LastX],PlayerInfo[playerid][LastY],PlayerInfo[playerid][LastZ]);
SetPlayerFacingAngle(playerid,PlayerInfo[playerid][LastA]);Habe ich ja...
aber es geht trotzdem nicht.... -
Habe ich ja gemacht aber ich falle dan immernoch vom Himmel und bin am Arsch der welt...
-
enum SpielerDaten
{
pLevel,
pGeld,
pMember,
pLeader,
pJob,
pFRank,
pAdmin,
pSkin,
pBan,
pBuerger,
pDriverLic,
pPerso,
pVersichert,
pWanted,
LastX,
LastY,
LastZ,
LastA,
pTot,
Float:pTx,
Float:pTy,
Float:pTz,
pGeschlecht,
pDate,
pWaffenschein,
Bank,
pFName,
pJobTime,
pLunch,
pAngel,
pIPod
};
new PlayerInfo[MAX_PLAYERS][SpielerDaten]; -
Öh ich habe es halt in mein PlayerInfo enum reingehaun...
könntest du vlt über Teamviewer gucken? -
Doch... sieht nur so aus wegen den Pawn Code einfügen
-
Code
C:\Users\Dominik Binder\Desktop\Deluxe Reallife\gamemodes\Deluxe.pwn(7526) : warning 213: tag mismatch C:\Users\Dominik Binder\Desktop\Deluxe Reallife\gamemodes\Deluxe.pwn(7527) : warning 213: tag mismatch C:\Users\Dominik Binder\Desktop\Deluxe Reallife\gamemodes\Deluxe.pwn(7528) : warning 213: tag mismatch C:\Users\Dominik Binder\Desktop\Deluxe Reallife\gamemodes\Deluxe.pwn(7529) : warning 213: tag mismatch
PlayerInfo[playerid][LastX] = dini_Float(Spielerdatei,"LastX");
PlayerInfo[playerid][LastY] = dini_Float(Spielerdatei,"LastY");
PlayerInfo[playerid][LastZ] = dini_Float(Spielerdatei,"LastZ");
PlayerInfo[playerid][LastA] = dini_Float(Spielerdatei,"LastA");diese Warnings kommen..
-
Hi ich weiss nicht genau wie ich das jz machen muss...
PlayerInfo[playerid][LastX] = dini_Int(Spielerdatei,"LastX");
PlayerInfo[playerid][LastY] = dini_Int(Spielerdatei,"LastY");
PlayerInfo[playerid][LastZ] = dini_Int(Spielerdatei,"LastZ");
PlayerInfo[playerid][LastA] = dini_Int(Spielerdatei,"LastA");aber ich brauche ja nicht dini_Int sondern etwas mit Float... weil ich möchte das jeder da spawnt wo er sich ausgeloggt hat.. da habe ich bei SpielerSpeichern das
new Float:X,Float:Y,Float:Z,Float:A;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,A);
dini_FloatSet(Spielerdatei,"LastX",X);
dini_FloatSet(Spielerdatei,"LastY",Y);
dini_FloatSet(Spielerdatei,"LastZ",Z);
dini_FloatSet(Spielerdatei,"LastA",A); -
Hi ich habe ein Problem
ich habe ein /o und /a chat gemacht
aber wenn ich /o mache kommt
( 7 Administrator RzZ41 : y )
und wenn ich /a mache kommt
( 7 Administrator : RzZ41 )der Befehl:
ocmd:o(playerid,params[])
{
if(IsPlayerConnected(playerid))
{
new nachricht[128],result,sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
if(sscanf(params,"u",result))return SendClientMessage(playerid,Grau,"Benutzung: /o [Nachricht]");
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
format(nachricht, sizeof(nachricht), " (( %d Administrator %s: %s ))", PlayerInfo[playerid][pAdmin], sendername, result);
SendClientMessageToAll(Blau,nachricht);
}
}
}
return 1;
}
ocmd:a(playerid,params[])
{
if(IsPlayerConnected(playerid))
{
new nachricht[128],result,sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
if(sscanf(params,"u",result))return SendClientMessage(playerid,Grau,"Benutzung: /a [Nachricht]");
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
for(new i; i < MAX_PLAYERS; i++)
{
format(nachricht, sizeof(nachricht), " ( Administrator %s: %s )", PlayerInfo[playerid][pAdmin], sendername, result);
if(PlayerInfo[i][pAdmin] >= 1)
{
SendClientMessage(i,Rot,nachricht);
}
}
}
}
}
return 1;
}