Ohne deinen Quellcode kann man nicht sagen was da die Ursache ist.
Beiträge von Mesut
-
-
Mtl. oder einmaliger Preis?
-
Ich kann's mir mal anschauen.
-
Rückgabewert vergessen.
-
Hab es installiert das Spiel laggt
nurbei mir.Das Problem sind die high Pings der Server. Und das die unter Windows gehostet werden macht nur noch größere Probleme.
-
Theoretisch müsste M2MP auch Steam-Kompatibel sein.
Ja ist es auch.
Wurde am Spawn getötet, bin respawned und dann ist das Game abgeschissen.
Empfehle dir die neuen Patches (Patch 2.5) herunterzuladen. Einige Crashes wurden gefixxt, aber Weaponsync. wurde immer noch nicht bearbeitet.
Das Setup von 0.1a muss ebenfalls durchgeführt werden. -
-
Frag mal meinen Vater, der hat sicherlich ne Antwort drauf.
//edit
Nenn dich doch mal Winset... -
also verbessr es
Das Leben ist kein Pawnhof, also schau dir das hier an, da findest Du einen guten Beispiel.
-
Du musst das Forum auf md5 umstellen (und alle PWs resetten), da es kein ordentliches sha256 für PAWN gibt, man könnte aber (double) salten, das geht easy...
-
Kannst du bei OCMD groß und klein schreiben? weil ich kann nur wen ich den cmd z.b. ocmd:id geschrieben habe (also klein) kein /Id oder /ID verwenden ich muss /id machen.
Dann lade dir (hier) die neue Version herunter, welche C&S unterstützt.
-
-
Mit "Also ich hab das jetzt aber das geht nicht" können wir nichts anfangen! Poste doch nun deinen "neuen" Code
-
Du hast das auch unter OnGameModeInit eingefügt?
-
if (strcmp("/gate", cmdtext, true, 10) == 0)
{
new getpname[24];
GetPlayerName(playerid, getpname, 24);
if(strcmp(getpname, "Mesut", true))
return SendClientMessage(playerid,ROT,"Du kannst das nicht");
if(!IsPlayerInRangeOfPoint(playerid,10,-856.60, 2720.95, 48.13))
return SendClientMessage(playerid,ROT, "Du bist nicht am Tor!");
MoveObject(Tor,-856.60, 2720.95, 48.13-10,2.0);
SetTimer("GateClosetGate",5000,0);
SendClientMessage(playerid,ROT,"Tor geöffnet! Es schließt automatsich in 5 Sek.");
return 1;
} -
dcmd_cc(playerid, params[])
{
#pragma unused params
if(SpielerInfo[playerid][pAdmin]>=1)
{
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed," ");
SendClientMessageToAll(cRed,"Der Chat wurde von einen Admin gecleart");
}
else
{
SendClientMessage(playerid,cRed,"Diesen Befehl kannst du nicht nutzen. Mindestens benötigter Rang: {00FF5A}Supporter");
}
return 1;
}Wenn ich sowas sehe, tun mir die Augen weh! Davon sind im Script haufenweise..
Wieso hast Du keine Zählschleife benutzt?
Spoiler anzeigen In o_cmd mal eine Lösung für dich..ocmd:cc(playerid,params[])
{
if(!GetPVarInt(playerid,"pAdmin"))return 1;
for(new i; i<MAX_PLAYERS; i++)SendClientMessageToAll(cRed, " ");
SendClientMessageToAll(cRed, "Der Chat wurde von einen Admin gecleart");
return 1;
} -
- Ist es Quatsch nachdem SendClientMessage einen return zu setzen.
- Du musst natürlich mit einer geschleiften Klammer den Befehl schließen.
- Dazu ist der Ausdruck ! bei der Abfrage völlig falsch.
Hier (!) geht kürzer.
ocmd:tor(playerid,params[])
{
#pragma unused params
if(!GetPVarInt(playerid,"pAdmin"))return 1; //wird einfach mit return 1; abgeschlossen.
if(!IsPlayerInRangeOfPoint(playerid,5,661.40002441406, -1228.0999755859, 17.5))return SendClientMessage(playerid,ROT,"Du bist nicht nahe genung am Tor!");
MoveObject(admin,661.40002441406, -1228.0999755859, 17.5-10,2);
SetTimer("pdtortimer",10000,0);
SendClientMessage(playerid,ROT,"Das Tor wird sich nach 10 Sekunden automatisch schließen!");
return 1;
} -
stock SendInfoMsg(playerid, Textt[])
{
new tmpstr[128];
format(tmpstr, sizeof tmpstr, " %s", Textt);
SendClientMessage(playerid, COLOR_GRAD1, tmpstr);
return 1;
} -
Nicht nur PAWNO.
Assoziative/Indizierte Arrays werden immer bei 0 angefangen zu lesen.
-
Level
Öh.. eher AdminLevel.