Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- YCMD:naruciproizvode(playerid,params[],help)
- {
- #pragma unused help
- if( UlogovanIgrac[ playerid ] == 0 || PI[ playerid ][ pReg ] == 0 ) return SEM( playerid, "Ne mozete koristiti ovu komandu jer niste ulogovani/registrovani.");
- if( PI[ playerid ][ pAdmin ] < 1 && ACCmd[ playerid ] == 1) return SEM( playerid, "Komande mozete koristiti svake 2 sekunde.");
- CmdProtect( playerid );
- if( PI[ playerid ][ pKljucFirme ] == 9999) return SEM( playerid, "Ne mozete koristiti ovu komandu jer nemate firmu." );
- if( !IsPlayerInRangeOfPoint(playerid, 3, 1480.0066,-1797.8676,2349.6851)) return SEM( playerid, "Ne mozete koristiti ovu komandu jer se ne nalazite na salteru u opstini.");
- SPD(playerid, DFIRMA_PROIZVODI, DIALOG_STYLE_INPUT, ""COL_AZURO"Proizvodi narucivanje", "{FFFFFF}Upisite kolicinu proizvoda koju zelite da narucite!\nCena po proizvodu je 5$!", "Naruci", "Izlaz" );
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement