break 0 Odesláno: 10. Srpen, 2008 Share Odesláno: 10. Srpen, 2008 do: public OnPlayerCommandText(playerid, cmdtext[] if(strcmp(cmd, "/zbrane", true) == 0){ //jakym prikazem chces aby to byly zbrane if(GetPlayerMoney(playerid)> 99999){ //penize nastav kolik chces ale jen odecti jedno cislo SendClientMessage(playerid,COLOR_ORANGE,"Máš málo peněz"); //tady co ti to napise kdyz nemas many }else{ GivePlayerWeapon(playerid,22,9999); //tady si nastav id zbrane a naboje GivePlayerWeapon(playerid,26,9999); //tady si nastav id zbrane a naboje GivePlayerWeapon(playerid,29,9999); //tady si nastav id zbrane a naboje GivePlayerWeapon(playerid,31,9999); //tady si nastav id zbrane a naboje GivePlayerWeapon(playerid,34,9999); //tady si nastav id zbrane a naboje GivePlayerMoney(playerid,-100000); //kolik ti to odecte penez SendClientMessage(playerid,COLOR_TVOJE BARVA,"Dostal jsi výbavu zbraní"); //sem dej to co chces aby se napsalo kdyz das prikaz return 1; } no tak snad jsem lamam pomohl trochu EDIT BY Chytrak : http://weedarr.wikidot.com/gunlist Link to comment Share on other sites More sharing options...
Guest Drifty Odesláno: 10. Srpen, 2008 Share Odesláno: 10. Srpen, 2008 Pěkná kravina btw radeji kdybys udelal jak pridat zbran atd. idcka ktomu a jeste dalsi veci .. Link to comment Share on other sites More sharing options...
Red beanie 0 Odesláno: 10. Srpen, 2008 Share Odesláno: 10. Srpen, 2008 lol toto bez idcek atd je na nic a v cmd je to taky na nic a to že tam dáš toto if(GetPlayerMoney(playerid)> 99999 tak to je blbost to musí mít přesně 99999 takto to je spravně a ještě to není u končené středníkem if(GetPlayerMoney(playerid,>=99999); Link to comment Share on other sites More sharing options...
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