Schau ob überhaupt einen .amx im Gamemodes Ordner liegt. Wenn ja, schau ob der Name mit dem Namen in der server.cfg übereinstimmt.
Beiträge von T4125Gamer
-
-
Zitat
[15:43:12] FRAKMATS.INI FEHLT
[15:43:12] FRAKDRUGS.INI FEHLTIrgendwie ja schon
-
welches Include war es, das du hinzugefügt hast?
-
Zitat
ich kann euch auch gerne die Zeilen schicken.
Und wo sind die betroffenen Zeilen?
-
-
Zitat
SetPlayerScore(playerid,dini_Get(Spieler,"Level"));
So wird das aber nicht gehen, da SetPlayerScore als 2. Parameter einen Integer (Zahlenwert) verlangt.
Deswegen mit dini_IntGet arbeiten
Und ja da fehlt eine Klammer//Edit: Problem wurde via Skype gelöst.
-
sSpieler[playerid][Adminlevel] = dini_Get(Spieler,"Adminlevel");sSpieler[playerid][Level] = dini_Get(Spieler,"Level");
Und wo ist hier der sinn?
-
Such im Plugin-Store bei WBB nach Expander
-
Zitat
in der Server.cfg auch die Zeile
"plugins streamer"
erstellt?Das bringt doch beim Scripten nichts. Streamer erneut Runterladen
-
Zitat
Könntet ihr es mir nicht sagen ?
Können schon, aber was lernst du daraus?
Schau mal hier vorbei: Pawn Einstieg 2.0
-
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login","Dein Account wurde gefunden.\n Gib bitte das Passwort ein.","Login","Abbrechen". <--- Hier);
Da ist ein Punkt hinter dem zweiten ", mach den weg
-
Zitat
ich habe schon was im Thema Scripting auf dem Kasten und deine Negativen Beiträge kann ich verzichten !
Und deswegen lässt du dir die Befehle anfertigen?
-
dann zeig die Errors, und deine Zeilen dazu
-
mach das von Schwabbel
-
SetPlayerHealth(playerid, + 45.0);
So geht das nicht.new Float:health;
SetPlayerHealth(playerid,GetPlayerHealth(playerid,health) + 25.0);Du musst das so machen.
-
Zitat
ähl mal alle geöffneten und alle geschlossenen klammern
das kann man am besten mit Notepad++
mfg
GeForceHab ich gemacht, und es sind alle gegen Klammern da.
-
So muss das sein
if(dialogid==DIALOG_HILFE)
{
if(response==1)
{
switch(listitem)
{
case 0:{ShowPlayerDialog(playerid,DIALOG_HILFE1,DIALOG_STYLE_MSGBOX,"Account Befehle","/stats /buylevel /upgrade\n/charity /skill /time /changepass","Ok","Ok");}
case 1:{ShowPlayerDialog(playerid,DIALOG_HILFE2,DIALOG_STYLE_MSGBOX,"Hilfreiche Befehle","/showperso /showlicenses /report\n/anbieten /rauchen /throwaway /sms /call /animlist","Ok","Ok");}
case 2:{ShowPlayerDialog(playerid,DIALOG_HILFE3,DIALOG_STYLE_MSGBOX,"Hilfreiche Befehle","/buygun (Waffekaufen) /skill /give /usedrugs\n/service /lotto /licenses /drink /buy","Ok","Ok");}
case 3:{ShowPlayerDialog(playerid,DIALOG_HILFE4,DIALOG_STYLE_MSGBOX,"Hilfreiche Befehle","/bda /eject /members /fahrlehrer /navi /resetjob\n/pay /menu /anbieten /rauchen","Ok","Ok");}
case 4:{ShowPlayerDialog(playerid,DIALOG_HILFE5,DIALOG_STYLE_MSGBOX,"Support Befehle","/report(Ticket) /support(Frage)\n/cr(Ticket Schließen) /ast(Supportticket antworten)","Ok","Ok");}
case 5:{ShowPlayerDialog(playerid,DIALOG_HILFE6,DIALOG_STYLE_MSGBOX,"Chat Befehle","/s(Schreien) /c(Flüstern) /ad(Werbung)\n/me(Aktion) /f (FamilienChat)","Ok","Ok");}
case 6:{ShowPlayerDialog(playerid,DIALOG_HILFE7,DIALOG_STYLE_MSGBOX,"RC Befehle","/buyrc /sellrc\n/userc /exitrc","Ok","Ok");}
case 7:
{
if(PlayerInfo[playerid][pJob] == 1) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /find"); }
else if(PlayerInfo[playerid][pJob] == 0) {
SendClientMessage(playerid, COLOR_LIGHTRED,"*** Arbeitslos ***"); }
else if(PlayerInfo[playerid][pJob] == 2) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /free, /freeplayer /unfreeplayer"); }
else if(PlayerInfo[playerid][pJob] == 3) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /sex"); }
else if(PlayerInfo[playerid][pJob] == 4) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /selldrugs /drugs"); }
else if(PlayerInfo[playerid][pJob] == 5) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /dropcar /theftcar"); }
else if(PlayerInfo[playerid][pJob] == 7) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /repair /refill /work"); }
else if(PlayerInfo[playerid][pJob] == 8) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /guard"); }
else if(PlayerInfo[playerid][pJob] == 9) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /materials /sellgun"); }
else if(PlayerInfo[playerid][pJob] == 10) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /sellcar"); }
else if(PlayerInfo[playerid][pJob] == 12) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /fight /boxstats"); }
else if(PlayerInfo[playerid][pJob] == 14) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /fare"); }
else if(PlayerInfo[playerid][pJob] == 16) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /buyprods /load /sellprods"); }
else if(PlayerInfo[playerid][pJob] == 17) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /starten"); }
else if(PlayerInfo[playerid][pJob] == 20) {
SendClientMessage(playerid,COLOR_LIGHTRED,"*** Job *** /startharvest"); }
}
case 8:
{
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
SendClientMessage(playerid,COLOR_WHITE,"|| LSPD || (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /tazer /frisk /take");
SendClientMessage(playerid,COLOR_WHITE,"|| LSPD || /ticket (/gov)ernment /ram /getincar /unjail /sperre /elevator /free /mv /pdopen /sapdopen");
SendClientMessage(playerid,COLOR_WHITE,"|| LSPD || /zollcontroll /zollstatus /gkasse /bfill /strafpunkteauto /strafpunktebike /lspdport");
}
if(PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
SendClientMessage(playerid,COLOR_WHITE,"|| SFPD || (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /tazer /frisk /take");
SendClientMessage(playerid,COLOR_WHITE,"|| SFPD || /ticket (/gov)ernment /ram /getincar /unjail /sperre /free /mv /pdopen /sapdopen");
SendClientMessage(playerid,COLOR_WHITE,"|| SFPD || /zollcontroll /zollstatus /gkasse /bfill /strafpunkteauto /strafpunktebike /lspdport");
}
if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Medic || (/r)adio (/d)epartments (/m)egaphone (/gov)ernment /heal /mduty /tazer /preise /mport /lsport /bfill /gkasse");
}
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
SendClientMessage(playerid,COLOR_WHITE,"|| La Cosa Nostra || /tie /untie /gkasse /setblacklist /blacklist /clearblacklist");
}
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Yakuza || /tie /untie /gkasse /setblacklist /blacklist /clearblacklist");
}
if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Regierung || /settax /gov /bmopen /gkasse");
}
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Hitman || /portable /mask /hport /gkasse");
}
if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
{
SendClientMessage(playerid,COLOR_WHITE,"|| News(CNN) || /live /news [text] /gkasse");
}
if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Taxi&Co. || /fare [Fahrpreis] /bfill /gkasse");
}
if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Fahrschule || /startlesson /stoplesson /givelicense /preise /ftrailer /gkasse");
}
if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Hells Angel|| /tie /untie /gkasse /setblacklist /blacklist /clearblacklist");
}
if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Groove Street || /tie /untie /gkasse /setblacklist /blacklist /clearblacklist");
}
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Ballas || /tie /untie /gkasse /setblacklist /blacklist /clearblacklist");
}
if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Triaden || /tie /untie /topen /gkasse /setblacklist /blacklist /clearblacklist");
}
if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Vagos || /tie /untie /gkasse /setblacklist /blacklist /clearblacklist");
}
if(PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Atztekas || /tie /untie /gkasse /setblacklist /blacklist /clearblacklist");
}
if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
{
SendClientMessage(playerid,COLOR_WHITE,"|| San Fierro Rifa || /tie /untie /ropen /gkasse /setblacklist /blacklist /clearblacklist");
}
if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)
{
SendClientMessage(playerid,COLOR_WHITE,"|| West Coast Customs || /tie /untie /gkasse /setblacklist /blacklist /clearblacklist");
}
if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Terroristen || /legbombe /explode /gkasse");
}
if(PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
{
SendClientMessage(playerid,COLOR_WHITE,"|| FBI || (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /fbi /free /wanted /cuff /tazer");
SendClientMessage(playerid,COLOR_WHITE,"|| FBI || /ticket (/gov)ernment /unjail /ram /getincar /sperre /Dienstmarke /mv /fbiport /pdopen /bfill");
SendClientMessage(playerid,COLOR_WHITE,"|| FBI || /zollcontroll /zollstatus /gkasse /frisk /take /lspdport");
}
if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Feuerwehr || /fw /fenter /fexit /gkasse");
}
if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Russische Mafia|| /tie /untie /gkasse /setblacklist /blacklist /clearblacklist");
}
if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
{
SendClientMessage(playerid,COLOR_WHITE,"|| Ordnungsamt || /oticket /m /tazer /towcar /oduty /setblitzer /removeblitzer /olights /bfill /zollcontroll /strafpunkteauto");
SendClientMessage(playerid,COLOR_WHITE,"|| Ordnungsamt || /opark(Auto abstellen) /unopark(Auto freigeben) /findcar(Auto von User finden) /gkasse /zollstatus /strafpunktebike");}
}
}
case 9:{ShowPlayerDialog(playerid,DIALOG_HILFE8,DIALOG_STYLE_MSGBOX,"Sonnstiges","/carhelp /onlinehelp /bankhelp /handyhelp\n/househelp /renthelp /bizzhelp /leaderhelp","Ok","Ok");}
}
}
if(response==0)
{
SendClientMessage(playerid,COLOR_GREY,"Du hast das Hilfemenu geschlossen.");
}
}Und beim Befehl muss noch ein return 1; hin
if(strcmp(cmdtext, "/help", true) == 0)
{
ShowPlayerDialog(playerid,DIALOG_HILFE,DIALOG_STYLE_LIST,"Befehle - Help","Account Befehle\nNützliche Befehle\nNützliche Befehle\nNützliche Befehle\nSupport\nChat Befehle\nRC Befehle\nJob Befehle\nFaktions Befehle\nSonnstiges","Auswählen","Abbrechen");
return 1;
} -
Zeig mal den Befehl /help
-
-
Dann musst du einen Timer rein machen, der den Spieler später kickt