Hmm...
Ich hatte dir was über "PN" angeboten
Beiträge von Teddybärchen
-
-
Hier versuch das mal musst du noch anpassen
// Skin
new Spielerdatei[20];
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.ini",SpielerName(playerid));
SetPlayerSkin(playerid,dini_Int(Spielerdatei,"Skin"));Das hatte ich ihm eigentlich schon geschrieben
-
Kommt drauf an.
Ich persönlich würde mir selber keins kaufen.
Ich würde lernen zucoden undso, und dann versuchen es selber zuerstellen.Mfg.
Das Teddybärchen
-
Wenn du den SKin speichern willst, dann so.
stock SpielerSpeichern(playerid)
{
if(GetPVarInt(playerid,"loggedin")==1)
{
new Spielerdatei[64];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
dini_IntSet(Spielerdatei,"Skin",GetPlayerSkin(playerid));
}
return 1;
}Und zum laden so:
stock LoadAccount(playerid)
{
new Spielerdatei[64];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
SetPlayerSkin(playerid,dini_Int(Spielerdatei,"Skin"));
SetPVarInt(playerid,"loggedin",1);
SpawnPlayer(playerid);
return 1;
}Soweit ich weiß.
-
Geh mal zu OnPlayerRequestClass und mach das:
public OnPlayerRequestClass(playerid, classid)
{
SetSpawnInfo(playerid,0,0,1958.33,1343.12,15.36,269.15,26,36,28,150,0,0);
SpawnPlayer(playerid);
return 1;
}und nach playerid setzt bei der zweiten 0 den skin hin als z.b. 29 oder sowas.
Denn das "SetSpawnInfo" sagt dem script welches Team welchen Skin und dann die Spawnpunkt.
Und bei dir änderst du folgendes:
new Spielerdatei[64],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
dini_Create(Spielerdatei);
dini_Set(Spielerdatei,"Passwort",key);
SendClientMessage(playerid,WEIß,"Sie haben sich erfolgreich Registriert");
GivePlayerMoney(playerid,4500);
SetPlayerScore(playerid,1);
return 1;Da muss weder der Skin hin noch der SpawnPlayer... Zumindest ist es bei mir so.
Mfg.
Das Teddybärchen -
Guten Tag liebe Leute,
Undzwar möchte ich ein Control-Panel installieren...
folgendes problem habe mysql und alles eingetragen.
Aber jetzt kommt das kein Benutzername gefunden wurde ??...
Wäre cool wenn sich einer damit auskennt.Danke im vorraus
Mfg.
Das Teddybärchen -
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\pawno\include\dutils.inc(137) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\pawno\include\dutils.inc(177) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\pawno\include\dutils.inc(285) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\pawno\include\dutils.inc(342) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\pawno\include\sscanf2.inc(305) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\pawno\include\sscanf2.inc(305) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\pawno\include\sscanf2.inc(365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\pawno\include\sscanf2.inc(365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\gamemodes\Jan.pwn(356) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\gamemodes\Jan.pwn(367) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\gamemodes\Jan.pwn(557) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\gamemodes\Jan.pwn(1161) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jan\Desktop\SA-MP 0.3x Projekt\gamemodes\Jan.pwn(1166) : warning 219: local variable "string" shadows a variable at a preceding levelIch habe Script ahnung... Aber diese warning hatte ich noch nie.
Danke im vorraus.
Das Teddybärchen
-
Ja Aber bei der version nicht oder ?
-
Hast du die alte version noch ?? Wo die Army in der standart base ist.
-
Hey Leute habe mal ne frage
undzwar,
Ich möchte, dass wenn ich bei wbb3 z.b. auf Team Bewerbung klicke da dann noch mal mehrere Ordner kommen weiß
einer wie das gehtDanke im vorraus!
Das Teddybärchen
-
Wenn man in ein Checkpoint reingeht oder fährt
-
Moin Leute
Ich habe mal eine frage undzwar ich will ein kleines ingame tutorial machen.
In das man nach dem spawn einfach /tutorial eingibt(Befehl kann ich glaube selbst)
Und dann sollen checkpoints erstellt werden und weggehen.
Also ich fahre in den ersten dann soll mir ein Dialog angezeigt werden.
Dann sollte man auf Ok klicken und dann soll der weggehen und ein neuer soll erscheinen.Danke im vorraus.
Mfg.
Das Teddybärchen
-
Danke Funktioniert auch aber wenn ich die server.exe starte, dann schmiert der server ab ?
Meldung :
Server Shutting Down -
Hey Leute habe ein Problem unzwar ein Rin TIme Error 19 und weiß nicht woran es liegt
ServerLog:
SA-MP Dedicated Server
----------------------
v0.3x, (C)2005-2013 SA-MP Team[11:53:52]
[11:53:52] Server Plugins
[11:53:52] --------------
[11:53:52] Loading plugin: mysql
[11:53:52]> MySQL plugin R6-2 successfully loaded.
[11:53:52] Loaded.
[11:53:52] Loading plugin: sscanf
[11:53:52][11:53:52] ===============================
[11:53:52] sscanf plugin loaded.
[11:53:52] (c) 2009 Alex "Y_Less" Cole
[11:53:52] 0.3d-R2 500 Players "dnee"
[11:53:52] ===============================
[11:53:52] Loaded.
[11:53:52] Loading plugin: streamer
[11:53:52]*** Streamer Plugin v2.5.2 by Incognito loaded ***
[11:53:52] Loaded.
[11:53:52] Loaded 3 plugins.[11:53:52]
[11:53:52] Ban list
[11:53:52] --------
[11:53:52] Loaded: samp.ban
[11:53:52]
[11:53:52]
[11:53:52] Filterscripts
[11:53:52] ---------------
[11:53:52] Loading filterscript 'MVD-System.amx'...
[11:53:52] [junkbuster] Loading JunkBuster...
[11:53:52]
[11:53:52] [junkbuster] Speichere/Lade MVD-System Konfiguration:
[11:53:52] [junkbuster] - WeaponHack = 0
[11:53:52] [junkbuster] - MoneyHack = 0
[11:53:52] [junkbuster] - Jetpack = 1
[11:53:52] [junkbuster] - HealthHack = 1
[11:53:52] [junkbuster] - ArmourHack = 1
[11:53:52] [junkbuster] - DriveBy = 0
[11:53:52] [junkbuster] - Spam = 0
[11:53:52] [junkbuster] - CommandSpam = 0
[11:53:52] [junkbuster] - BadWords = 0
[11:53:52] [junkbuster] - CarJackHack = 0
[11:53:52] [junkbuster] - TeleportHack = 1
[11:53:52] [junkbuster] - MaxPing = 1000
[11:53:52] [junkbuster] - SpectateHack = 0
[11:53:52] [junkbuster] - Blacklist = 0
[11:53:52] [junkbuster] - IpBans = 0
[11:53:52] [junkbuster] - TempBans = 0
[11:53:52] [junkbuster] - SpawnKill = 0
[11:53:52] [junkbuster] - CapsLock = 0
[11:53:52] [junkbuster] - 3DSpeed = 0
[11:53:52] [junkbuster] - MaxSpeed = 550
[11:53:52] [junkbuster] - AdminImmunity = 1
[11:53:52] [junkbuster] - Advertisement = 0
[11:53:52] [junkbuster] - FreezeUpdate = 0
[11:53:52] [junkbuster] - SpawnTime = 10
[11:53:52] [junkbuster] - CheckpointTeleport = 1
[11:53:52] [junkbuster] - Airbrake = 100
[11:53:52] [junkbuster] - TankMode = 1
[11:53:52] [junkbuster] - WarnPlayers = 0
[11:53:52] [junkbuster] - SingleplayerCheats = 1
[11:53:52] [junkbuster] - MinFPS = 0
[11:53:52] [junkbuster] - DisableBadWeapons = 1
[11:53:52] [junkbuster] - CBug = 0
[11:53:52] [junkbuster] - AntiBugKill = 1
[11:53:52] [junkbuster] - NoReload = 0
[11:53:52] [junkbuster] - NoReloadForSawnOff = 0
[11:53:52] [junkbuster] - ActiveGMC = 2
[11:53:52] [junkbuster] - GMCBan = 0
[11:53:52] [junkbuster] - ServerSideHealth = 1
[11:53:52] [junkbuster] - CheckVMPos = 0
[11:53:52] [junkbuster] - QuickTurn = 1
[11:53:52] [junkbuster] - VehicleTeleport = 1
[11:53:52] [junkbuster] - Wallride = 170
[11:53:52] [junkbuster] - DisplayTextDraw = 1
[11:53:52] [junkbuster] - AFK = 0
[11:53:52] [junkbuster] - PickupTeleport = 1
[11:53:52] [junkbuster] - FlyHack = 40
[11:53:52] [junkbuster] - JunkBusterChrome = 1
[11:53:52] [junkbuster] - CheckWalkAnims = 0
[11:53:52] [junkbuster] - ReportMoneyHack = 0
[11:53:52] [junkbuster] - SpeedhackAdvanced = 20
[11:53:52] [junkbuster] - Joypad = 2
[11:53:52] [junkbuster] - ArmedVehicles = 0
[11:53:52] [junkbuster] - VehicleRepair = 2
[11:53:52] [junkbuster] - TuningHack = 0
[11:53:52] [junkbuster] - PayForGuns = 0
[11:53:52] [junkbuster] - SpawnVehicles = 2
[11:53:52] [junkbuster] - MaxTotalWarnings = 0
[11:53:52] [junkbuster] - TooManyWarningsAction = 0
[11:53:52] [junkbuster] - AirbrakeDetection = 1
[11:53:52] [junkbuster] - SpeedhackDetection = 1
[11:53:52]
[11:53:52] [junkbuster] 0 IP-bans have been loaded.
[11:53:52] [junkbuster] 0 temporary bans have been loaded.
[11:53:52] [junkbuster] 0 whitelist entries have been loaded.
[11:53:52] [junkbuster] 5 blacklist entries have been loaded.
[11:53:52] [junkbuster] 41 bad words have been loaded.
[11:53:52] [junkbuster] 4 forbidden weapons have been loaded.
[11:53:52] [junkbuster] MVD-System wurde Konfiguriert.
[11:53:52] [junkbuster] JunkBuster (v11) has successfully been loaded.
[11:53:52] Loading filterscript 'AudioHide.amx'...
[11:53:52] /--------------------------------\
[11:53:52] | Audiomessage Hidesystem |
[11:53:52] | von BlackAce |
[11:53:52] | erfolgreich geladen |
[11:53:52] \--------------------------------/
[11:53:52] Loaded 2 filterscripts.[11:53:52] Script[gamemodes/Script.amx]: Run time error 19: "File or function is not found"
[11:53:52] Number of vehicle models: 0 -
http://www.file-upload.net/dow…Ronny-s-Selfmade.rar.html
Hier ist auf 0.3x geupdatetDa er damals auf 0.3d-R2 gescriptet hat !
Mfg.
Ps.Glaube damals gab es noch kein 0.3x -
Ja ist alles drinne
-
Moin leute habe ein Problem undzwar startet mein server nicht ??
SA-MP Dedicated Server
----------------------
v0.3x, (C)2005-2013 SA-MP Team[10:59:27]
[10:59:27] Server Plugins
[10:59:27] --------------
[10:59:27] Loading plugin: streamer
[10:59:27]*** Streamer Plugin v2.5.2 by Incognito loaded ***
[10:59:27] Loaded.
[10:59:27] Loading plugin: mysql
[10:59:27]> MySQL plugin R6-2 successfully loaded.
[10:59:27] Loaded.
[10:59:27] Loading plugin: sscanf
[10:59:27][10:59:27] ===============================
[10:59:27] sscanf plugin loaded.
[10:59:27] (c) 2009 Alex "Y_Less" Cole
[10:59:27] 0.3d-R2 500 Players "dnee"
[10:59:27] ===============================
[10:59:27] Loaded.
[10:59:27] Loaded 3 plugins.[10:59:27]
[10:59:27] Ban list
[10:59:27] --------
[10:59:27] Loaded: samp.ban
[10:59:27]
[10:59:27]
[10:59:27] Filterscripts
[10:59:27] ---------------
[10:59:27] Loading filterscript 'MVD-System.amx'...
[10:59:27] [junkbuster] Loading JunkBuster...
[10:59:27]
[10:59:27] [junkbuster] Speichere/Lade MVD-System Konfiguration:
[10:59:27] [junkbuster] - WeaponHack = 0
[10:59:27] [junkbuster] - MoneyHack = 0
[10:59:27] [junkbuster] - Jetpack = 1
[10:59:27] [junkbuster] - HealthHack = 1
[10:59:27] [junkbuster] - ArmourHack = 1
[10:59:27] [junkbuster] - DriveBy = 0
[10:59:27] [junkbuster] - Spam = 0
[10:59:27] [junkbuster] - CommandSpam = 0
[10:59:27] [junkbuster] - BadWords = 0
[10:59:27] [junkbuster] - CarJackHack = 0
[10:59:27] [junkbuster] - TeleportHack = 1
[10:59:27] [junkbuster] - MaxPing = 1000
[10:59:27] [junkbuster] - SpectateHack = 0
[10:59:27] [junkbuster] - Blacklist = 0
[10:59:27] [junkbuster] - IpBans = 0
[10:59:27] [junkbuster] - TempBans = 0
[10:59:27] [junkbuster] - SpawnKill = 0
[10:59:27] [junkbuster] - CapsLock = 0
[10:59:27] [junkbuster] - 3DSpeed = 0
[10:59:27] [junkbuster] - MaxSpeed = 550
[10:59:27] [junkbuster] - AdminImmunity = 1
[10:59:27] [junkbuster] - Advertisement = 0
[10:59:27] [junkbuster] - FreezeUpdate = 0
[10:59:27] [junkbuster] - SpawnTime = 10
[10:59:27] [junkbuster] - CheckpointTeleport = 1
[10:59:27] [junkbuster] - Airbrake = 100
[10:59:27] [junkbuster] - TankMode = 1
[10:59:27] [junkbuster] - WarnPlayers = 0
[10:59:27] [junkbuster] - SingleplayerCheats = 1
[10:59:27] [junkbuster] - MinFPS = 0
[10:59:27] [junkbuster] - DisableBadWeapons = 1
[10:59:27] [junkbuster] - CBug = 0
[10:59:27] [junkbuster] - AntiBugKill = 1
[10:59:27] [junkbuster] - NoReload = 0
[10:59:27] [junkbuster] - NoReloadForSawnOff = 0
[10:59:27] [junkbuster] - ActiveGMC = 2
[10:59:27] [junkbuster] - GMCBan = 0
[10:59:27] [junkbuster] - ServerSideHealth = 1
[10:59:27] [junkbuster] - CheckVMPos = 0
[10:59:27] [junkbuster] - QuickTurn = 1
[10:59:27] [junkbuster] - VehicleTeleport = 1
[10:59:27] [junkbuster] - Wallride = 170
[10:59:27] [junkbuster] - DisplayTextDraw = 1
[10:59:27] [junkbuster] - AFK = 0
[10:59:27] [junkbuster] - PickupTeleport = 1
[10:59:27] [junkbuster] - FlyHack = 40
[10:59:27] [junkbuster] - JunkBusterChrome = 1
[10:59:27] [junkbuster] - CheckWalkAnims = 0
[10:59:27] [junkbuster] - ReportMoneyHack = 0
[10:59:27] [junkbuster] - SpeedhackAdvanced = 20
[10:59:27] [junkbuster] - Joypad = 2
[10:59:27] [junkbuster] - ArmedVehicles = 0
[10:59:27] [junkbuster] - VehicleRepair = 2
[10:59:27] [junkbuster] - TuningHack = 0
[10:59:27] [junkbuster] - PayForGuns = 0
[10:59:27] [junkbuster] - SpawnVehicles = 2
[10:59:27] [junkbuster] - MaxTotalWarnings = 0
[10:59:27] [junkbuster] - TooManyWarningsAction = 0
[10:59:27] [junkbuster] - AirbrakeDetection = 1
[10:59:27] [junkbuster] - SpeedhackDetection = 1
[10:59:27]
[10:59:27] [junkbuster] 0 IP-bans have been loaded.
[10:59:27] [junkbuster] 0 temporary bans have been loaded.
[10:59:27] [junkbuster] 0 whitelist entries have been loaded.
[10:59:27] [junkbuster] 5 blacklist entries have been loaded.
[10:59:27] [junkbuster] 41 bad words have been loaded.
[10:59:27] [junkbuster] 4 forbidden weapons have been loaded.
[10:59:27] [junkbuster] MVD-System wurde Konfiguriert.
[10:59:27] [junkbuster] JunkBuster (v11) has successfully been loaded.
[10:59:27] Loaded 1 filterscripts.[10:59:27] Script[gamemodes/Haupt-Script.amx]: Run time error 19: "File or function is not found"
[10:59:27] Number of vehicle models: 0Danke im Vorraus
Mfg. -
Hey Brotfische,
Ich woltle mich mal erkundigen ob einer eine seite kennt, wo ich mir ein Autohaus system angucken kann. ??
Wäre echt nice
Mache nämliche gerade mein Selfmade. -
-
Kann einer helfen ?? Es nervt immer als Admin auszuführen