Du kannst mit diesem editor die LookAt Coordinaten für die Kamera speichern lassen.
Beiträge von T4125Gamer
-
-
Dann zeig mal dein Login/Register System. So können wir dir nicht helfen
-
klappt trotzdem, wenn du es bei dir selber noch verschönern willst, dann kannst du das machen.
-
Zitat
hast du bedacht dass es Ammu1 Ammu2 und so weiter gibt
Immer wenn ein neuer Checkpoint Name da ist, hab ich if gemacht, die, die dazu gehören (gleicher Name) hab ich mit einem else if versehen.
-
Schau mal ob da irgendwo was mit Samp Version installieren ist.
Wenn nein, dann schreib mal dem Support das der Server auf einer anderen Version läuft wie dir gesagt wurde. -
wo gehostet?
-
ehm nein?
Der Server läuft auf 0.3a
Siehe hier:
-
laufen tut er auf 0.3a so wie ich das sehe
-
if(Ccp[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ccp[playerid] = 2;
SetPlayerCheckpoint(playerid, 927.1014,2084.5405,10.8203, 5.0);
SendClientMessage(playerid, BLAU,"Bring das Geld in deine Base!");
return 1;
}else if(Ccp[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ccp[playerid] = 0;GivePlayerMoney(playerid,5000);
SendClientMessage(playerid, BLAU,"Du hast es Geschaft, hier etwas Geld!");
return 1;
}
if(checkpoint[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
checkpoint[playerid] = 2;
SetPlayerCheckpoint(playerid, 1642.9668,-2414.5276,13.5547, 5.0);
SendClientMessage(playerid, BLAU,"Deliver the passengers to LS!");
return 1;
}else if(checkpoint[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
checkpoint[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got sth money!");
return 1;
}
if(LSTOLV[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
LSTOLV[playerid] = 2;
SetPlayerCheckpoint(playerid, 1581.9318,1534.4133,10.8315, 5.0);
SendClientMessage(playerid, BLAU,"Deliver the passengers to LV!");
return 1;
}else if(LSTOLV[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
LSTOLV[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got sth money!");
return 1;
}
if(Ammu1[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu1[playerid] = 2;
SetPlayerCheckpoint(playerid, 4053.9250,-147.2102,11.4713, 5.0);
SendClientMessage(playerid,BLAU,"Drive to Inustrial Island");
return 1;
}else if(Ammu1[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu1[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got sth money!");
return 1;
}else if(Ammu2[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu2[playerid] = 2;
SetPlayerCheckpoint(playerid, 2423.0188,1925.6471,6.0156, 5.0);
SendClientMessage(playerid,BLAU,"Drive to Constuction side 1");
return 1;
}else if(Ammu2[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu2[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}else if(Ammu3[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu3[playerid] = 2;
SetPlayerCheckpoint(playerid, -56.6427,119.9775,3.1172, 5.0);
SendClientMessage(playerid,BLAU,"Drive to Easter Board-Farm");
return 1;
}else if(Ammu3[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu3[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}else if(Ammu4[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu4[playerid] = 2;
SetPlayerCheckpoint(playerid, -1513.4344,2608.9175,55.8359, 5.0);
SendClientMessage(playerid,BLAU,"Drive to Ammushop Quelbrados");
return 1;
}else if(Ammu4[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu4[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}else if(Ammu5[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu5[playerid] = 2;
SetPlayerCheckpoint(playerid, -280.3616,2688.2798,62.6684, 5.0);
SendClientMessage(playerid,BLAU,"Drive to Las Paysadas");
return 1;
}else if(Ammu5[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu5[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}else if(Ammu6[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu6[playerid] = 2;
SetPlayerCheckpoint(playerid, 249.3386,1396.1968,10.5859, 5.0);
SendClientMessage(playerid,BLAU,"Drive to the company near Las Paysadas");
return 1;
}else if(Ammu6[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu6[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}else if(Ammu7[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu7[playerid] = 2;
SetPlayerCheckpoint(playerid, 238.5253,-44.6169,1.5781, 5.0);
SendClientMessage(playerid,BLAU,"Drive to blueberry supermarket");
return 1;
}else if(Ammu7[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu7[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}
else if(Ammu8[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu8[playerid] = 2;
SetPlayerCheckpoint(playerid, 1003.7125,-1356.2329,13.3246, 5.0);
SendClientMessage(playerid,BLAU,"Drive to the jim's wings!");
return 1;
}else if(Ammu8[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu8[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}
else if(Ammu9[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
Ammu9[playerid] = 2;
SetPlayerCheckpoint(playerid, 2437.7749,-2429.7834,13.6280, 5.0);
SendClientMessage(playerid,BLAU,"Drive to LS port!");
return 1;
}else if(Ammu9[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
Ammu9[playerid] = 0;GivePlayerMoney(playerid,30000);
SendClientMessage(playerid, BLAU,"You've finished the work and you got 30.000$!");
return 1;
}So, du musst wenn die erste Abfrage schon war mit else if weiter arbeiten, bei den Checkpoints
-
Zitat
83.136.86.143:9534
Der vielleicht?
-
Dann musst du den Server Updaten, weil der noch mit der Version 0.3a läuft
-
Der Serverlog sagt das die Version 0.3d geladen wird...
Zitatv0.3d-RC9, (C)2005-2011 SA-MP Team
-
und was soll jetzt nicht gehen?
-
Behalte doch MySQL, dini ist langsam.
-
-
Du hast in deinem Script den Stock LoadAccount
stock LoadAccount(playerid)
{
new Spielerdatei[64];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
SetPlayerScore(playerid,dini_Int(Spielerdatei,"Level"));
GivePlayerMoney(playerid,dini_Int(Spielerdatei,"Geld"));
SetPVarInt(playerid,"Adminlevel",dini_Int(Spielerdatei,"Adminlevel"));
SetPVarInt(playerid,"Fraktion",dini_Int(Spielerdatei,"Fraktion"));
SetPVarInt(playerid,"loggedin",1);
return 1;
}Da wird der Spieler geladen, wenn du also
if(response==1)
{
if(!strlen(inputtext))
{
SendClientMessage(playerid,ROT,"Das Passwort war nicht lang genug");
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login","Dein Account wurde gefunden. Gib bitte dein Passwort ein.","Login","Abbrechen");
return 1;
}
else
{
Login(playerid,inputtext);
LoadAccount(playerid);
return 1;
}
}so das ganze machst, dann geht das.
-
Dann mach LoadAccount draus.
-
Was er meint ist das
if(dialogid==DIALOG_LOGIN)
{
if(response==0)
{
SendClientMessage(playerid,ROT,"Du hast den Vorgang abgebrochen");
Kick(playerid);
}
if(response==1)
{
if(!strlen(inputtext))
{
SendClientMessage(playerid,ROT,"Das Passwort war nicht lang genug");
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login","Dein Account wurde gefunden. Gib bitte dein Passwort ein.","Login","Abbrechen");
return 1;
}
else
{
Login(playerid,inputtext);
//Hier muss das LoadPlayer(playerid); hin
return 1;
}
}
} -
new Float:X1, Float:Y1, Float:Z1;
GetVehiclePos(GetPlayerVehicleID(i),X1,Y1,Z1);Mach es so
-
und was kommt jetzt für ein Error? Immer noch der Selbe?