strtok(const string[], &index)
stock strtok(const string[], &index)
igy is ugyan error-os
warning 225: unreachable code[/quote]Helytelen visszatérések, vagy nincs is szükség rá.Helytelen: public OnPlayerConnect(playerid){new iPlayer = playerid;if( iPlayer == 0 ){ print(\"what\"); return 0;}else{print(\"what\"); return 0;}return 1;} Helyes: public OnPlayerConnect(playerid){new iPlayer = playerid;if( iPlayer == 0 ){ print(\"what\");}else{print(\"what\");}return 1;} warning 219: local variable \"vehicleid\" shadows a variable at a preceding levelwarning 219: local variable \"string\" shadows a variable at a preceding levelwarning 219: local variable \"string\" shadows a variable at a preceding level [/quote]Többször szerepel ez a változó a módban. Nevezd át õket.Helytelen: public OnPlayerConnect(playerid){new playerid = 10;printf(\"%i\", playerid);return 1;} Helyes: public OnPlayerConnect(playerid){new playerid001 = 10;printf(\"%i\", playerid001);return 1;} warning 235: public function lacks forward declaration (symbol \"VehicleOccupied\") [/quote]Nem ismerem az eljárást, dee...Helytelen: public ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat){ return 1;} Helyes: forward ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat);public ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat){ return 1;}
public OnPlayerConnect(playerid){new iPlayer = playerid;if( iPlayer == 0 ){ print(\"what\"); return 0;}else{print(\"what\"); return 0;}return 1;}
public OnPlayerConnect(playerid){new iPlayer = playerid;if( iPlayer == 0 ){ print(\"what\");}else{print(\"what\");}return 1;}
warning 219: local variable \"vehicleid\" shadows a variable at a preceding levelwarning 219: local variable \"string\" shadows a variable at a preceding levelwarning 219: local variable \"string\" shadows a variable at a preceding level [/quote]Többször szerepel ez a változó a módban. Nevezd át õket.Helytelen: public OnPlayerConnect(playerid){new playerid = 10;printf(\"%i\", playerid);return 1;} Helyes: public OnPlayerConnect(playerid){new playerid001 = 10;printf(\"%i\", playerid001);return 1;} warning 235: public function lacks forward declaration (symbol \"VehicleOccupied\") [/quote]Nem ismerem az eljárást, dee...Helytelen: public ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat){ return 1;} Helyes: forward ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat);public ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat){ return 1;}
public OnPlayerConnect(playerid){new playerid = 10;printf(\"%i\", playerid);return 1;}
public OnPlayerConnect(playerid){new playerid001 = 10;printf(\"%i\", playerid001);return 1;}
warning 235: public function lacks forward declaration (symbol \"VehicleOccupied\") [/quote]Nem ismerem az eljárást, dee...Helytelen: public ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat){ return 1;} Helyes: forward ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat);public ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat){ return 1;}
public ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat){ return 1;}
forward ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat);public ASDJKLE(whatever, bool:whateverbool, Float:whateverfloat){ return 1;}