Niki 1 Odesláno: 14. Leden, 2015 Share Odesláno: 14. Leden, 2015 Zdravím, Robím si príkaz na zatknutie ale mám problém... if(PZkusenosti[playerid] > 0) { ak mám tento code neide mi nič ďalej , nič sa nedeje.. Ak som si dal if(PZkusenosti[playerid] == 0) { Všetko fungovalo.... Chcem aby tie zkusenosti boli 0 - 25 ( Od 25 už chcem novú "Hodnosť" ) Ďakujem. Link to comment Share on other sites More sharing options...
0 Globální moderátor bug 131 Odesláno: 14. Leden, 2015 Globální moderátor Share Odesláno: 14. Leden, 2015 Asi je hodnota stále 0 takže keď kontroluješ if(hodnota>0) tak ťa to nepustí .... si si istý že je hodnota > 0 ? Link to comment Share on other sites More sharing options...
0 Niki 1 Odesláno: 14. Leden, 2015 Author Share Odesláno: 14. Leden, 2015 Okey.. vyriešil som to.. dík A dá sa to nieak takto ? if(PZkusenosti[playerid] > 0 < 24) { Čiže aby to bolo že väčšie ako 0 ale menšie ako 24 ? Link to comment Share on other sites More sharing options...
0 eXot 18 Odesláno: 14. Leden, 2015 Share Odesláno: 14. Leden, 2015 (upraveno) if(PZkusenosti[playerid] > 0 && PZkusenosti[playerid] < 24) alebo switch(PZkusenosti[playerid]) { case 1 .. 23: Edited 16. Leden, 2015 by eXistenz Link to comment Share on other sites More sharing options...
0 Niki 1 Odesláno: 14. Leden, 2015 Author Share Odesláno: 14. Leden, 2015 Okey, dík. Link to comment Share on other sites More sharing options...
0 ATomas 288 Odesláno: 14. Leden, 2015 Share Odesláno: 14. Leden, 2015 nebo if(0 < PZkusenosti[playerid] < 24) Link to comment Share on other sites More sharing options...
Dotaz
Niki 1
Zdravím,
Robím si príkaz na zatknutie ale mám problém...
ak mám tento code neide mi nič ďalej , nič sa nedeje..
Ak som si dal
Všetko fungovalo....
Chcem aby tie zkusenosti boli 0 - 25 ( Od 25 už chcem novú "Hodnosť" )
Ďakujem.
Link to comment
Share on other sites
5 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now