Kann denn jemand anderes mir das Scripten
bitteee
Beiträge von MysteriX
-
-
Kannst du mir das nicht schnell sagen?
-
Kannst du mir erklären wie so etwas geht?
Und wo ich das hin schreiben muss?
-
Kann das Nirgens finden :o
-
Hallo ich habe ein Problem mit /tanken also wenn ich an eine Tankstelle hingehe und /tanken eingeben steht dann Bitte warte...
Und dann wird man gefreezed und es geht nicht mehr weiter:Hier die /tanken befehle:
if(strcmp("/tanken", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,10,1004.0812,-939.4362,42.1797))
{
if(IsPlayerConnected(playerid))
{
if(IsAtGasStation(playerid))
{
if(IsANoTachoVehicle(GetPlayerVehicleID(playerid)))
{
SendClientMessage(playerid,COLOR_YELLOW," Du kannst kein Fahrrad betanken!");
}
SetTimer("Fillup",RefuelWait,0);
Refueling[playerid] = 1;
FreezePlayer(playerid);
SendClientMessage(playerid,COLOR_WHITE," Dein Fahrzeug wird betankt, Bitte warten....");
}
return 1;
}
} -
Bei mir speichert es auch nicht die Häuser

-
Thema hat sich erledigt danke

Die scriptfiles haben gefehlt!
-
könnte sein aber welche brauche ich denn da?
-
echo server.cfg generated by samp4you.com: Interface
port 7309
rcon_password *********
rcon 1
lanmode 0
maxplayers 25
announce 1
query 1
hostname [LCR] Leader gesucht mit startbonus: 100000+lvl3
mapname
weburl http://www.sa-mp.com
maxnpc 10
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
bind 5.9.28.77
logtimeformat [%H:%M:%S]
filterscripts tanken haussystemgamemode0 WorldofSanAndreas
-
Hallo ich habe meinen Server neu aufgesetzt da viele gebannt waren und nicht mehr auf den Server konnten.
Jetzt habe ich das Script eingefügt und es nimmt es i-wie nicht an!
Aber der Server lässt sich starten!
Hier mal einen Auszug aus der server.logSA-MP Dedicated Server
----------------------
v0.3e-R2, (C)2005-2012 SA-MP Team[15:01:27] mapname = "San Andreas" (string)
[15:01:27]
[15:01:27] Server Plugins
[15:01:27] --------------
[15:01:27] Loaded 0 plugins.[15:01:27]
[15:01:27] Filterscripts
[15:01:27] ---------------
[15:01:27] Loading filterscript 'tanken.amx'...
[15:01:27]
__________________________________________
[15:01:27] [!Stan´s] Speedometer geladen...
[15:01:27] __________________________________________[15:01:27] Loading filterscript 'haussystem.amx'...
[15:01:27] Loaded 2 filterscripts.[15:01:27] Script[gamemodes/WorldofSanAndreas.amx]: Run time error 19: "File or function is not found"
[15:01:27] Number of vehicle models: 0
[15:02:00] Incoming connection: 84.187.84.139:55674
[15:02:00] [join] [LcR]Marv has joined the server (0:84.187.84.139)
[15:02:18] RCON (In-Game): Player #0 ([LcR]Marv) has logged in.
[15:02:32] RCON (In-Game): Player [[LcR]Marv] sent command: makeadmin 0 200
[15:02:41] [part] [LcR]Marv has left the server (0:1)
[15:03:04] --- Server Shutting Down.Das mit dem Server Shutting Down war ich als ich den Server gestoppt habe...
Hoffe auf eine schnelle Antwort!
-
Okay nachdem ich das umgeändert habe kommen diese Errors und Warnings:
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(18200) : warning 219: local variable "Spieler" shadows a variable at a preceding level
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53156) : warning 202: number of arguments does not match definition
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53207) : error 017: undefined symbol "ooc"
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53210) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53211) : error 001: expected token: ",", but found ";"
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53212) : error 037: invalid string (possibly non-terminated string)
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53212) : error 017: undefined symbol "Benutzung"
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53212) : warning 215: expression has no effect
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53212) : error 001: expected token: ";", but found "]"
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(53212) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
-
//NPC Skin Setzung
if(IsPlayerNPC(playerid))
(
new botname[MAX_PLAYER_NAME];
GetPlayerName(playerid,botname,sizeof(botname));
if(!strcmp(botname,"Busfahrer",true))
{
SetPlayerSkin(playerid,5);
}
)
//NPC Bot Abfrage
if(IsPlayerNPC(playerid)) return 1;
StopAudioStreamForPlayer(playerid);
M_OnPlayerSpawn(playerid);
TextDrawShowForPlayer(playerid,Datum);
if(PlayerInfo[playerid][pTot] == 1 && PlayerInfo[playerid][pLevel] > 1)
{ -
Du musst da glaube i-wo die Car id von denen angeben!
-
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(5293 -- 5294) : error 029: invalid expression, assumed zero
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(5294) : warning 215: expression has no effect
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(5294) : error 001: expected token: ";", but found "]"
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(5294) : error 029: invalid expression, assumed zero
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\pawno\WorldofSanAndreas.pwn(5294) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
-
Aber es bleiben immernoch Errors übrig
-
wo genau soll ich die einsetzen?
-
Script: //NPC Skin Setzung
if(IsPlayerNPC(playerid))
(
new botname[MAX_PLAYER_NAME];
GetPlayerName(playerid,botname,sizeof(botname));
if(!strcmp(botname,"Busfahrer",true))
(
SetPlayerSkin(playerid,5);
)Errors&Warunungen:
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(5293 -- 5294) : error 029: invalid expression, assumed zero
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(5294) : warning 215: expression has no effect
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(5294) : error 001: expected token: ";", but found "]"
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(5294) : error 029: invalid expression, assumed zero
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(5294) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Hoffe auf schnelle Hilfe
-
Und wie frage ich das ab?
-
clruler und dann können auch normale Spieler im OOC chat schreiben, aber nur wenn er an ist?
-