Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:kupitelefon( playerid, params[] )
- {
- if( !IsPlayerInRangeOfPoint( playerid, 3.0, -1110.0254,2369.4956,31.3902 ) ) return GRESKA( playerid, "Morate biti u elektronik shopu da bi koristili ovu komandu.");
- SPD( playerid, dialog_BUY_MOBILEPHONE, DSTH, D_NASLOV, "Marka Mobilnog Telefona\tCena\nSamsung Galaxy S7 edge\t$5.999\nApple iPhone 7 Plus\t$8.339\nLG G4, H815\t$3.599\nSONY XPERIA XA\t$2.399\nHTC ONE 10\t$5.899\nHuawei P10\t$4.499\nLenovo Vibe P1\t$2.499", D_ODABERI, D_ODUSTANI );
- return true;
- }
- /////////////////////// PROBLEM JE STO nije firma elektronik nego je vec drugacije napravljeno samo ulaz u int a isto je ko int samo
- CMD:kupikarticu( playerid, params[] ) {
- for( new i = 1; i < MAX_BUSSINES; i++ ) {
- if( IsPlayerInRangeOfPoint( playerid, 3.0, -1110.0254,2369.4956,31.3902 ) ) {
- if( BussinesInfo[ i ][ bType ] == VRSTA_ELEKTRONIK ) {
- ShowPlayerDialog( playerid, dialog_KUPIKARTICU, DSL, D_NASLOV, "MTS\nVIP\nTelenor", D_ODABERI, D_ODUSTANI );
- }
- else return GRESKA( playerid, "Morate biti u elektronik shopu da bi koristili ovu komandu.");
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment