Ja aber ich möchte es ja da hin telepotieren wo es der spieler geparkt hat!
Beiträge von MysteriX
-
-
es soll dann mit einem befehl an die geparkte position telepotiert werden aber nicht so ein befehl wo alle unbestzten autos gespawnt werden sondern wo der spieler nur selbst SEIN auto zurück spawnen kann da wo er es geparkt hat!
-
Ja Frage steht oben hoffe ihr könnt mir helfen :))
-
Mich würde das auch gerne interessieren

-
LoL Kannste das mir geben?
-
Nur dumm das bei mir vorgestern bei mir genau das gleiche problem war: Script wird nicht angenommen!
-
du musst die scriptfiles rein ziehen!
war bei mir auch so!
-
naja die SIM Karte wo du für das Iphone 5 brauchste ist noch kleiner wie microSIM
-
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(18349) : 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\gamemodes\WorldofSanAndreas.pwn(53325) : error 010: invalid function or declaration
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53330) : warning 202: number of arguments does not match definition
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53384) : 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\gamemodes\WorldofSanAndreas.pwn(53415) : warning 217: loose indentation
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53423) : warning 217: loose indentation
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53773) : warning 203: symbol is never used: "ooc"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase1 Error.
der error is da wo das return 1; ist
-
Oh bekomme doch nur 1 Error xD:
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(18349) : 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\gamemodes\WorldofSanAndreas.pwn(53305) : warning 217: loose indentation
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53310) : warning 217: loose indentation
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53311) : warning 217: loose indentation
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53319) : error 029: invalid expression, assumed zero
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53327) : warning 202: number of arguments does not match definition
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53381) : 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\gamemodes\WorldofSanAndreas.pwn(53412) : warning 217: loose indentation
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53420) : warning 217: loose indentation
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53770) : warning 203: symbol is never used: "ooc"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase1 Error.
ocmd:startbonus(playerid,params[])
{
new string[258];
if(IsPlayerInRangeOfPoint(playerid, 10.0,1717.2563,-1910.0349,13.5660))
{
if(GetPlayerScore(playerid) == 1)
{
SetPlayerScore(playerid,3);
GivePlayerMoney(playerid,50000);
PlayerInfo[playerid][pLevel] = 3;
format(string,sizeof(string),"Du hast Level 3 und 50000$");
SendClientMessage(playerid,COLOR_YELLOW,string);}
else
{
SendClientMessage(playerid,COLOR_RED,"Du kannst das nicht 2 Mal benutze "); // editiere wie du es haben willst.
} else {//da is der error
SendClientMessage(playerid,COLOR_RED,"Du bist nicht am /startbonus Punkt ");}
}
return 1;
} -
DJ Deagle leider bekomme ich bei deinem command 2 errors...
-
Leider bekommt man irgendwie immernoch nicht das lvl3
-
hmm schade
-
wo einfügen?
Kannste mir das evtl hier einbauen:
ocmd:startbonus(playerid,params[])
{
new Geld = 50000;
new string[258];
if(!IsPlayerInRangeOfPoint(playerid, 10.0,1717.2563,-1910.0349,13.5660))return SendClientMessage(playerid,COLOR_RED,"Du bist nicht am /startbonus Punkt "); // ! heißt: "if not"
if(GetPlayerScore(playerid) > 3) return SendClientMessage(playerid,COLOR_RED,"Du kannst das nicht 2 Mal benutze "); // editiere wie du es haben willst.
{
GivePlayerMoney(playerid,Geld);
PlayerInfo[playerid][pLevel] == 3;
format(string,sizeof(string),"Du hast Level 3 und 50000$");
SendClientMessage(playerid,COLOR_YELLOW,string);}
else
{
SendClientMessage(playerid,COLOR_RED,"Du bist nicht Level 1");
}
return 1;
} -
Sieht geil aus willst du mir vielleicht auch so eine machen

-
Geht irgendwie immernoch nicht, man bekommt das Lvl 3 nicht!
-
I-wie kann ich den Befehl mehrmals benutzen
Und wenn ich an dem Startbonus punkt bin kommt, Du bist nicht am /startbonus punkt....
Und wenn ich nicht da bin kann ich den befehl mehrmals benutzen...
-
wo einfügen?
-
Kann jemand helfen???
Also das is der Befehl in Pawno:
ocmd:startbonus(playerid,params[])
{
new Geld = 50000;
if(IsPlayerInRangeOfPoint(playerid, 10.0,1717.2563,-1910.0349,13.5660))return SendClientMessage(playerid,COLOR_RED,"Du bist nicht am /startbonus Punkt "); // Das nur machen wenn du willst das es nur an einer bestimmten Position ist....
if(PlayerInfo[playerid][pLevel] <= 2)
{
GivePlayerMoney(playerid,Geld);
PlayerInfo[playerid][pLevel] == 3;
format(string,sizeof(string),"Du hast Level 3 und 50000$");
SendClientMessage(playerid,COLOR_YELLOW,string);}
else
{
SendClientMessage(playerid,COLOR_RED,"Du bist nicht Level 1");
}return 1;
}Und dann bekomme ich Errors:
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(18349) : 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\gamemodes\WorldofSanAndreas.pwn(53309) : warning 215: expression has no effect
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53310) : error 017: undefined symbol "string"
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53310) : error 017: undefined symbol "string"
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53310) : error 029: invalid expression, assumed zero
C:\Users\JOACHIM\Desktop\Spiele\Samp Scripts\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(53310) : 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

-
soll das etwas sein damit die ganzen autos auf dem server respawnt werden?