Hast du Skype?
Habe ich, du kannst mir gerne deinen Namen per PN schicken, dann können wir morgen mal spielen.
Da ich morgen Schule habe, gehe ich nun dann auch mal schlafen ![]()
Hast du Skype?
Habe ich, du kannst mir gerne deinen Namen per PN schicken, dann können wir morgen mal spielen.
Da ich morgen Schule habe, gehe ich nun dann auch mal schlafen ![]()
Ich dachte am Anfang, das es nicht so gut werden kann aber das Ergebnis hat mich sehr überzeugt!
Also ich finde es so wie es ist perfekt! ![]()
Ich würde gerne mal drauf spielen, muss man dazu GTA IV gekauft haben oder funktioniert es auch gecrackt?..
Hey, also ich habe das in meinem Enum: SpielerInfo[playerid][sPos][3]
Wie kann ich das jetzt machen, das Sscanf beim laden xpos in [sPos][0] y in [sPos][1] u. z in [sPos][2] ?
Bis jetzt sieht das so aus: sscanf(str, "e<p<|>iis[25]s[16]iis[25]s[64]iifff>",SpielerInfo[playerid]); //Die fff stehen für die position
mfg
Hey, also ich habe das in meinem Enum: SpielerInfo[playerid][sPos][3]
Wie kann ich das jetzt machen, das Sscanf beim laden xpos in [sPos][0] y in [sPos][1] u. z in [sPos][2] ?
Bis jetzt sieht das so aus: sscanf(str, "e<p<|>iis[25]s[16]iis[25]s[64]iifff>",SpielerInfo[playerid]); //Die fff stehen für die position
mfg
Nöp, alles richtig eingerückt, schön untereinander :3
/edit Neu eingerückt geht jetzt
Da war wohl ein leerzeichen irwo :3
/edit² Noch eine Frage: Wenn ich aufn Desktop bin & ich lasse den Spieler speichen trägt er bei dein Positionen überall 0, was kann man da machen? ![]()
Was ist denn daran falsch? xD
Function LoadPlayer(playerid)
{
if(!IsPlayerNPC(playerid) && SpielerInfo[playerid][sEingeloggt])
{
MySQLCheckConnection();
new Query[250],str[250];
format(Query,sizeof(Query),"SELECT * FROM `Wasteland_Account_Main` WHERE `Name` = '%s'",SpielerInfo[playerid][sName]);
mysql_query(Query);
mysql_store_result();
while(mysql_fetch_row(str))
{
sscanf(str, "e<p<|>iis[25]s[16]iis[25]s[64]iifff>",SpielerInfo[playerid]);
print(str);
}
mysql_free_result();
return 1;
}
return 1;
}
Ein Kumpel & ich hatten genau die selbe Idee einmal, haben sie aber dann nicht umgesetzt da eine Voraussetzung dafür mindestens ~50 Spieler sind.
eh Ja da sag ich mal fail ![]()
Danke ![]()
stock LoadZelte()
{
new Query[500], str[512], i;
for(i=0;i<MAX_ZELTE; i++)
{
format(Query,sizeof(Query),"SELECT * FROM Wasteland_Zelte WHERE ='%i'",i);
mysql_query(Query);
mysql_store_result();
if(mysql_num_rows()>0)
{
while(mysql_fetch_row(str))
{
sscanf(str, "e<p<|>ifff>",ZeltInfo[i]);
}
mysql_free_result();
}
}
printf("LOAD: Es wurden %i Zelte geladen!",i);
return 1;
}
[Tue Apr 23 15:13:58 2013] Error (0): Failed to exeute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='0'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_store_result called when no prior successful query executed. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='0'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_num_rows called when no result stored. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='0'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Failed to exeute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='1'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_store_result called when no prior successful query executed. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='1'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_num_rows called when no result stored. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='1'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Failed to exeute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='2'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_store_result called when no prior successful query executed. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='2'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_num_rows called when no result stored. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='2'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Failed to exeute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='3'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_store_result called when no prior successful query executed. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='3'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_num_rows called when no result stored. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='3'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Failed to exeute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='4'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_store_result called when no prior successful query executed. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='4'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_num_rows called when no result stored. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='4'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Failed to exeute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='5'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_store_result called when no prior successful query executed. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='5'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_num_rows called when no result stored. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='5'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Failed to exeute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='6'' at line 1.
[Tue Apr 23 15:13:58 2013] Error (0): Function: mysql_store_result called when no prior successful query executed. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '='6'' at line 1.
[Tue Apr 23 15:13:5
Alles anzeigen
enum ZeltDaten
{
zID,
Float:zPos[3]
//zItems[20],
//zAnzahl[20],
}
new ZeltInfo[MAX_ZELTE][ZeltDaten];
Was ist der Fehler? ![]()
Alles anzeigenEigentlich ziemlich einfach.
new highest = 0;
for(new i=0;i!=MAX_PLAYERS;i++)
{
if(!IsPlayerConnected(i))continue;
if(SpielerInfo[i][pLevel] > highest) {
highest = SpielerInfo[i][pLevel];
}
}
Highest enthält dann das größte Level, aller Spieler die gerade auf dem Server sind.
LG
Danke, war gestern irgendwie bisschen verplant ![]()
Wie kann man den höchsten Wert herausfinden von allen Spielern also zum Beispiel: SpielerInfo[playerid][pGeld] ?
Hey, ich suche ein Textdraw Editor, womit ich auch Models setzen kann.
Also ich bin aber auch dafür, das der Counter aus bleibt, da dadurch das dauerhafte gespame aufhören wird! ![]()
Also ich habe 2 Domains bei Mainpower.cc & bin sehr zufrieden.
Hatte noch nie einen Ausfall & billig sind die Domains auch! ![]()
Er hat doch geschrieben 10€ (Nitrado) also 10€ Nitrado Guthaben!
Ja mit getplayermoney
Jaaaa die Idee ist super! ![]()
Einfach einen Button mit "Compile & Upload" oder so ![]()
Bei Standart Godfather wird das Geld nur per GivePlayerMoney gegeben.
Du kannst es aber mit GetPlayerMoney(playerid); bekommen.
Aber nur als Anmerkung 80% der Lets Player Cracken sich die Programme...
Deshalb empfehle ich dir auch sie zu kaufen! ![]()