aso, hmm ja werde ich probieren, doch ich müsse es eigentlich so lösen...
EDIT: Hab das mal mit sscanf probiert, hab ein paar Errors... müsste doch so stimmen oder?:
sscanf(data,"iiiiiissiifffsiiiii",PlayerInfo[playerid][pTut],PlayerInfo[playerid][pMissionNr],PlayerInfo[playerid][pWarns],PlayerInfo[playerid][pAdjustable],
PlayerInfo[playerid][pFuel],PlayerInfo[playerid][pMarried],PlayerInfo[playerid][pReason],PlayerInfo[playerid][pMD5],PlayerInfo[playerid][pNav],
PlayerInfo[playerid][pNavX]PlayerInfo[playerid][pNavY],PlayerInfo[playerid][pNavZ],PlayerInfo[playerid][pCode],PlayerInfo[playerid][pSP],PlayerInfo[playerid][pBHF],
PlayerInfo[playerid][pDonuts],PlayerInfo[playerid][pRobSkill],PlayerInfo[playerid][pLaptop]);
Errors:
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12452 -- 12454) : error 001: expected token: ",", but found "-identifier-"
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12454) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12454) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12454) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12454) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12454) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12454 -- 12455) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12454 -- 12455) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12454 -- 12455) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12455) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12455) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\gf_mysql2.pwn(12455) : fatal error 107: too many error messages on one line
Alles anzeigen
12452 -- 12455 befindet sich dieser Code.
EDIT: Ein "Beistrich" hab ich übersehen also ein ,
Danke dir, funktionier einwandfrei, werde das ganze mal umschreiben. Habe mir gleich den Tipp auf der Seite zu Herzen genommen und habe es mit sscanf2 gemacht.