Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:kupioruzje( playerid, params[] ) {
- new businessId = GetPlayerBusinessId( playerid, VRSTA_GUNSHOP );
- if( businessId == -1 ) {
- SendErrorMessage( playerid, "Morate biti u gunshopu." );
- } else if( businessId == -2 ) {
- SendErrorMessage( playerid, "Nemamo vise proizvoda!" );
- } else {
- if( PlayerInfo[ playerid ][ xLevel ] < 2 ) return SCM( playerid, CRVENA, "Ne mozes kupiti oruzje nemas level 2!");
- if( PlayerInfo[ playerid ][ xGunLicense ] == false ) return SCM( playerid, CRVENA, "Ne mozete kupiti oruzje bez dozvole." );
- SPD( playerid, dialog_GUNSHOP, DSL, D_NASLOV, "Spray [4000$]\nDeagle [6000$]\nShotgun [7500$]\nM4 [7500$]\nMP5 [7500$]\nAK 47 [7500$]\nSniper[9000$]\nPancir[5000$]\nPancir[10000$]", "Kupi", D_ODUSTANI );
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement