Vivera 0 Odesláno: 16. Říjen, 2011 Share Odesláno: 16. Říjen, 2011 nejspis to mam asi blbe ale opet mi naskakuje 26 eroru...Problem je tady public OnPlayerCommandText(playerid, cmdtext[]) ( dcmd(loc,3,cmdtext); dcmd(toloc,5,cmdtext); dcmd(givecash,8,cmdtext); new sendername[256]; new string[128]; new idx; new cmd[256]; return 0; } Zkoušel sem i return 1 pod to i 0 ale nejde to ! pod timhle je akorat warp...Prosim o help Link to comment Share on other sites More sharing options...
0 Lax. 28 Odesláno: 16. Říjen, 2011 Share Odesláno: 16. Říjen, 2011 public OnPlayerCommandText(playerid, cmdtext[]) ( dcmd(loc,3,cmdtext); dcmd(toloc,5,cmdtext); dcmd(givecash,8,cmdtext); new sendername[256]; new string[128]; new idx; new cmd[256]; return 0; } { Link to comment Share on other sites More sharing options...
0 Brunes 1 Odesláno: 16. Říjen, 2011 Share Odesláno: 16. Říjen, 2011 WTF??? ( a nie nahodou { Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 16. Říjen, 2011 Share Odesláno: 16. Říjen, 2011 A errory si máme vycucat z prstu? :roll: Link to comment Share on other sites More sharing options...
0 Brunes 1 Odesláno: 16. Říjen, 2011 Share Odesláno: 16. Říjen, 2011 A errory si máme vycucat z prstu? :roll: nepotrebujeme.. ked si opraví to znamienko tak mu nemajú prečo hádzať chyby .. Link to comment Share on other sites More sharing options...
0 Vivera 0 Odesláno: 16. Říjen, 2011 Author Share Odesláno: 16. Říjen, 2011 Dík omezilo se to na 4 erory Link to comment Share on other sites More sharing options...
0 Brunes 1 Odesláno: 16. Říjen, 2011 Share Odesláno: 16. Říjen, 2011 Dík omezilo se to na 4 erory daj ich sem Link to comment Share on other sites More sharing options...
0 Sovak 0 Odesláno: 16. Říjen, 2011 Share Odesláno: 16. Říjen, 2011 Napis ich ... Link to comment Share on other sites More sharing options...
0 Vivera 0 Odesláno: 16. Říjen, 2011 Author Share Odesláno: 16. Říjen, 2011 C:\Documents and Settings\Filip\Plocha\FDDD.pwn(716) : warning 204: symbol is assigned a value that is never used: "cmd" C:\Documents and Settings\Filip\Plocha\FDDD.pwn(715) : warning 203: symbol is never used: "idx" C:\Documents and Settings\Filip\Plocha\FDDD.pwn(714) : warning 204: symbol is assigned a value that is never used: "string" C:\Documents and Settings\Filip\Plocha\FDDD.pwn(713) : warning 204: symbol is assigned a value that is never used: "sendername" C:\Documents and Settings\Filip\Plocha\FDDD.pwn(713 -- 720) : error 010: invalid function or declaration C:\Documents and Settings\Filip\Plocha\FDDD.pwn(713 -- 722) : error 010: invalid function or declaration C:\Documents and Settings\Filip\Plocha\FDDD.pwn(713 -- 725) : error 010: invalid function or declaration C:\Documents and Settings\Filip\Plocha\FDDD.pwn(713 -- 725) : fatal error 107: too many error messages on one line a řadky public OnPlayerCommandText(playerid, cmdtext[]) { dcmd(loc,3,cmdtext); dcmd(toloc,5,cmdtext); dcmd(givecash,8,cmdtext); new sendername[256]; new string[128]; new idx; new cmd[256]; return 0; } if(strcmp(cmdtext,"/d1",true)==0){ GetPlayerName(playerid, sendername, sizeof(sendername)); if(IsPlayerInAnyVehicle(playerid)) { new VehicleID; VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-311.4061,1516.2188,75.3594); SetVehicleZAngle(VehicleID,181.7940); SetPlayerInterior(playerid,0); format(string, sizeof(string), "[ ! ]Hráč %s sa odwarproval na drift poziciu 1 /d1 .", sendername); SendClientMessageToAll(B_SVIT, string); } else { SetPlayerPos(playerid, -311.4061,1516.2188,75.3594); SetPlayerFacingAngle(playerid,181.7940); SetPlayerInterior(playerid,0); format(string, sizeof(string), "[ ! ]Hráč %s sa odwarproval na drift poziciu 1 /d1 .", sendername); SendClientMessageToAll(B_SVIT, string); } return 1; } Link to comment Share on other sites More sharing options...
0 Brunes 1 Odesláno: 16. Říjen, 2011 Share Odesláno: 16. Říjen, 2011 ale daj sme aj čisla riadkou... odial si ich mame vycucať?!... Link to comment Share on other sites More sharing options...
0 Sovak 0 Odesláno: 16. Říjen, 2011 Share Odesláno: 16. Říjen, 2011 riadok 713 je ktory ? Link to comment Share on other sites More sharing options...
0 Lax. 28 Odesláno: 16. Říjen, 2011 Share Odesláno: 16. Říjen, 2011 public OnPlayerCommandText(playerid, cmdtext[]) { dcmd(loc,3,cmdtext); dcmd(toloc,5,cmdtext); dcmd(givecash,8,cmdtext); new sendername[256]; new string[128]; if(strcmp(cmdtext,"/d1",true)==0){ GetPlayerName(playerid, sendername, sizeof(sendername)); if(IsPlayerInAnyVehicle(playerid)) { new VehicleID; VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID,-311.4061,1516.2188,75.3594); SetVehicleZAngle(VehicleID,181.7940); SetPlayerInterior(playerid,0); format(string, sizeof(string), "[ ! ]Hráč %s sa odwarproval na drift poziciu 1 /d1 .", sendername); SendClientMessageToAll(B_SVIT, string); } else { SetPlayerPos(playerid, -311.4061,1516.2188,75.3594); SetPlayerFacingAngle(playerid,181.7940); SetPlayerInterior(playerid,0); format(string, sizeof(string), "[ ! ]Hráč %s sa odwarproval na drift poziciu 1 /d1 .", sendername); SendClientMessageToAll(B_SVIT, string); } return 1; } return 0; } všetko Link to comment Share on other sites More sharing options...
0 Vivera 0 Odesláno: 16. Říjen, 2011 Author Share Odesláno: 16. Říjen, 2011 http://imageshack.us/photo/my-images/35/94017410.jpg/ tu obrazok ! Link to comment Share on other sites More sharing options...
0 Sovak 0 Odesláno: 16. Říjen, 2011 Share Odesláno: 16. Říjen, 2011 si ukoncil public predcasne Inac hod to na pastebin to co mas v pawne lebo toto co si postol je ine ako na obrazku Link to comment Share on other sites More sharing options...
0 Vivera 0 Odesláno: 16. Říjen, 2011 Author Share Odesláno: 16. Říjen, 2011 dobre netreba! erory už jsem vyřešil ) děkuji vam za pomoc )) Link to comment Share on other sites More sharing options...
Dotaz
Vivera 0
nejspis to mam asi blbe ale opet mi naskakuje 26 eroru...Problem je tady
public OnPlayerCommandText(playerid, cmdtext[])
(
dcmd(loc,3,cmdtext);
dcmd(toloc,5,cmdtext);
dcmd(givecash,8,cmdtext);
new sendername[256];
new string[128];
new idx;
new cmd[256];
return 0;
}
Zkoušel sem i return 1 pod to i 0 ale nejde to ! pod timhle je akorat warp...Prosim o help
Link to comment
Share on other sites
14 odpovědí na tuto otázku
Recommended Posts