Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //============================================================================//
- /*
- Reido sistema v1.0
- by estylO
- Pakeitęs kreditus, scripto autoriumi netapsi
- */
- //============================================================================//
- #include < a_samp >
- #include < zcmd >
- //============================================================================//
- enum Zaidejas
- {
- Darbas
- }
- new pData[MAX_PLAYERS][Zaidejas];
- /* Stock */
- stock GautiVarda(playerid)
- {
- new
- vardas[ 24 ]
- ;
- GetPlayerName( playerid, vardas , 24 );
- return vardas;
- }
- /* Komandos */
- COMMAND:reidas( playerid, params[ ] )
- {
- if(pData [ playerid ] [ Darbas ] == 1 )
- {
- SendClientMessage(playerid, -1, "[REIDAS] Negalite kurti reido");
- }
- else
- {
- new string[100];
- CreateObject(3578, 2082, 41.799999237061, 26.10000038147, 0, 0, 0);
- CreateObject(3578, 2092.3000488281, 41.799999237061, 26.10000038147, 0, 0, 0);
- CreateObject(3578, 2102.6000976563, 41.799999237061, 26.10000038147, 0, 0, 0);
- CreateObject(3578, 2112.8999023438, 41.799999237061, 26.10000038147, 0, 0, 0);
- CreateObject(3578, 2123.1999511719, 41.799999237061, 26.10000038147, 0, 0, 0);
- CreateObject(997, 2129.3000488281, 41.700000762939, 25.299999237061, 0, 0, 0);
- CreateObject(997, 2133.1000976563, 41.700000762939, 25.299999237061, 0, 0, 0);
- CreateObject(1215, 2128.6999511719, 41.700000762939, 25.89999961853, 0, 0, 0);
- CreateObject(1215, 2132.8000488281, 41.700000762939, 25.89999961853, 0, 0, 0);
- CreateObject(1215, 2136.8000488281, 41.700000762939, 25.89999961853, 0, 0, 0);
- CreateObject(1215, 2126.6999511719, 46.900001525879, 25.89999961853, 0, 0, 0);
- CreateObject(1215, 2126.6999511719, 36.400001525879, 25.89999961853, 0, 0, 0);
- CreateObject(12887, 2067.578125, 40.8671875, 29.296875, 0, 0, 0);
- format(string,sizeof(string),"{FFFFFF}[ {00FF40}> {FFFFFF}] Policininkas {FFA2E5}%s {FFFFFF}įjungė reido rėžimą",GautiVarda(playerid));
- SendClientMessageToAll(0xFFFFFAA,string);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment