Saringan_cs
Membru-
Posts
45 -
Joined
-
Last visited
Never
Saringan_cs's Achievements
-
GG!!! Foarte Frumosa mapa ! :cool:! 5/5
-
Acoperisu se numeste :: CARRIER_LIFT1_SFSE ceva de genu
-
Este Prima mea Mapa Postata pe Sa-Mp.ro Timp De Lucru :vreo 3 H Imagini: http://imageshack.us/g/838/samp089i.png/ Cod!!! [pawn]CreateObject(3115, 1002.3994140625, -919.099609375, 45.900001525879, 0, 0, 7.9925537109375); CreateObject(3115, 1004.69921875, -936.099609375, 46.900001525879, 0, 0, 7.987060546875); CreateObject(14394, 1004, -925.8994140625, 46.5, 0, 0, 277.998046875); CreateObject(3524, 999.20001220703, -953.59997558594, 43.900001525879, 0, 0, 0); CreateObject(5130, 1005.2998046875, -951.5, 44.099998474121, 0, 0, 231.49841308594); CreateObject(3524, 1011.5999755859, -952.40002441406, 43.900001525879, 0, 0, 0); CreateObject(3524, 1006.2998046875, -945.19921875, 50.099998474121, 0, 0, 0); CreateObject(3524, 1002.8994140625, -945.69921875, 50.099998474121, 0, 0, 10); CreateObject(1419, 1008.4000244141, -945, 47.799999237061, 0, 0, 8); CreateObject(1419, 1012.200012207, -944.5, 47.799999237061, 0, 0, 7.998046875); CreateObject(1419, 1016.0999755859, -941.70001220703, 47.799999237061, 0, 0, 98.748046875); CreateObject(1419, 1014.299987793, -944, 47.799999237061, 0, 0, 7.998046875); CreateObject(1419, 1015.5999755859, -937.79998779297, 47.799999237061, 0, 0, 98.7451171875); CreateObject(1419, 1015, -933.79998779297, 47.799999237061, 0, 0, 98.7451171875); CreateObject(1419, 1014.4000244141, -929.79998779297, 47.799999237061, 0, 0, 98.7451171875); CreateObject(1419, 1014.0999755859, -927.40002441406, 47.799999237061, 0, 0, 98.2451171875); CreateObject(1419, 993.19921875, -930.2998046875, 47.799999237061, 0, 0, 278.73413085938); CreateObject(1419, 993.79998779297, -934.29998779297, 47.799999237061, 0, 0, 278.23413085938); CreateObject(1419, 994.40002441406, -938.29998779297, 47.799999237061, 0, 0, 277.98413085938); CreateObject(1419, 994.90002441406, -942.09997558594, 47.799999237061, 0, 0, 278.48413085938); CreateObject(1419, 995.2998046875, -944.7998046875, 47.799999237061, 0, 0, 278.47595214844); CreateObject(1419, 997.59997558594, -946.5, 47.799999237061, 0, 0, 7.4759521484375); CreateObject(1419, 1001, -946.09997558594, 47.799999237061, 0, 0, 7.470703125); CreateObject(16151, 1013.700012207, -933, 47.200000762939, 0, 0, 9); CreateObject(1809, 1014, -930.70001220703, 48.700000762939, 0, 0, 279.75); CreateObject(1839, 1012.799987793, -926.09997558594, 47.200000762939, 0, 0, 40.75); CreateObject(1839, 1012.799987793, -926.09997558594, 47.700000762939, 0, 0, 40.748291015625); CreateObject(1840, 1013.0999755859, -935.20001220703, 47.799999237061, 0, 0, 0); CreateObject(1840, 1012.4000244141, -930.79998779297, 47.799999237061, 0, 0, 2); CreateObject(2028, 1012.4000244141, -930.79998779297, 48.299999237061, 0, 0, 7.5); CreateObject(2099, 1015.9000244141, -943, 47.200000762939, 0, 0, 244); CreateObject(2099, 993.5, -929, 47.200000762939, 0, 0, 65.995361328125); CreateObject(2100, 996.20001220703, -946.40002441406, 47.200000762939, 0, 0, 142); CreateObject(2103, 998, -945.79998779297, 47.200000762939, 0, 0, 0); CreateObject(2104, 1006.0999755859, -945, 47.200000762939, 0, 0, 188); CreateObject(2104, 1002.700012207, -945.59997558594, 47.200000762939, 0, 0, 187.998046875); CreateObject(2232, 1015.0999755859, -941.59997558594, 47.799999237061, 0, 0, 248.75); CreateObject(2232, 1013.0999755859, -927.09997558594, 47.799999237061, 0, 0, 286.74694824219); CreateObject(2233, 995, -928.09997558594, 47.200000762939, 0, 0, 44); CreateObject(2233, 993.79998779297, -929.5, 47.200000762939, 0, 0, 43.994750976563); CreateObject(2233, 996, -945.79998779297, 47.200000762939, 0, 0, 143.99475097656); CreateObject(2229, 1000.299987793, -927.20001220703, 47.200000762939, 0, 0, 8.75); CreateObject(2229, 1008.5999755859, -926.09997558594, 47.200000762939, 0, 0, 8.7451171875); CreateObject(2230, 993.79998779297, -930.20001220703, 47.200000762939, 0, 0, 50); CreateObject(2227, 1014.5, -943.70001220703, 47.200000762939, 0, 0, 242); CreateObject(2226, 1006.299987793, -944.70001220703, 48.5, 0, 0, 189.5); CreateObject(2226, 1002.9000244141, -945.20001220703, 48.5, 0, 0, 189.49768066406); CreateObject(2224, 1012.799987793, -935.40002441406, 47.799999237061, 0, 0, 232.5); CreateObject(1649, 1009.299987793, -908.70001220703, 47.799999237061, 0, 0, 188.24523925781); CreateObject(1649, 1005, -909.29998779297, 47.799999237061, 0, 0, 188.23974609375); CreateObject(1649, 1000.700012207, -909.90002441406, 47.799999237061, 0, 0, 9.23974609375); CreateObject(1649, 996.40002441406, -910.5, 47.799999237061, 0, 0, 188.23974609375); CreateObject(1649, 992.90002441406, -911, 47.799999237061, 0, 0, 188.23974609375); CreateObject(1649, 1009.2998046875, -908.69921875, 47.799999237061, 0, 0, 9.239501953125); CreateObject(1649, 1005, -909.2998046875, 47.799999237061, 0, 0, 6.4874267578125); CreateObject(1649, 1000.69921875, -909.8994140625, 47.799999237061, 0, 0, 188.23425292969); CreateObject(1649, 996.3994140625, -910.5, 47.799999237061, 0, 0, 6.23974609375); CreateObject(1649, 992.90002441406, -911, 47.799999237061, 0, 0, 8.23974609375); CreateObject(1649, 992.90002441406, -911, 51.099998474121, 0, 0, 8.23974609375); CreateObject(1649, 1000.700012207, -909.90002441406, 51.099998474121, 0, 0, 9.239501953125); CreateObject(1649, 1005, -909.29998779297, 51.099998474121, 0, 0, 6.9874267578125); CreateObject(1649, 1009.2998046875, -908.69921875, 51.099998474121, 0, 0, 9.2340087890625); CreateObject(1649, 996.40002441406, -910.5, 51.099998474121, 0, 0, 6.4847412109375); CreateObject(1649, 992.90002441406, -911, 51.099998474121, 0, 0, 188.23974609375); CreateObject(1649, 996.40002441406, -910.5, 51.099998474121, 0, 0, 188.23974609375); CreateObject(1649, 1000.700012207, -909.90002441406, 51.099998474121, 0, 0, 188.23425292969); CreateObject(1649, 1005, -909.29998779297, 51.099998474121, 0, 0, 188.23974609375); CreateObject(1649, 1009.299987793, -908.70001220703, 51.099998474121, 0, 0, 188.23974609375); CreateObject(1649, 991, -913.5, 47.799999237061, 0, 0, 278.23974609375); CreateObject(1649, 991.59997558594, -917.79998779297, 47.799999237061, 0, 0, 277.73425292969); CreateObject(1649, 992.20001220703, -922.09997558594, 47.799999237061, 0, 0, 277.97888183594); CreateObject(1649, 992.79998779297, -926.40002441406, 47.799999237061, 0, 0, 278.22607421875); CreateObject(1649, 992.7998046875, -926.3994140625, 47.799999237061, 0, 0, 96.718139648438); CreateObject(1649, 992.20001220703, -922.09997558594, 47.799999237061, 0, 0, 97.97607421875); CreateObject(1649, 991.599609375, -917.7998046875, 47.799999237061, 0, 0, 97.728881835938); CreateObject(1649, 991, -913.5, 47.799999237061, 0, 0, 97.484252929688); CreateObject(1649, 991, -913.5, 51.099998474121, 0, 0, 97.481689453125); CreateObject(1649, 991.59997558594, -917.79998779297, 51.099998474121, 0, 0, 277.72888183594); CreateObject(1649, 992.20001220703, -922.09997558594, 51.099998474121, 0, 0, 97.97607421875); CreateObject(1649, 992.79998779297, -926.40002441406, 51.099998474121, 0, 0, 96.718139648438); CreateObject(1649, 991, -913.5, 51.099998474121, 0, 0, 278.23425292969); CreateObject(1649, 992.7998046875, -926.3994140625, 51.099998474121, 0, 0, 278.2177734375); CreateObject(1649, 992.19921875, -922.099609375, 51.099998474121, 0, 0, 277.97607421875); CreateObject(1649, 991.599609375, -917.7998046875, 51.099998474121, 0, 0, 97.728881835938); CreateObject(1649, 1011.7998046875, -910.5, 47.799999237061, 0, 0, 97.987060546875); CreateObject(1649, 1011.7998046875, -910.5, 47.799999237061, 0, 0, 277.98706054688); CreateObject(1649, 1011.799987793, -910.5, 51.099998474121, 0, 0, 97.987060546875); CreateObject(1649, 1011.7998046875, -910.5, 51.099998474121, 0, 0, 277.98706054688); CreateObject(1649, 1013.5999755859, -923.09997558594, 47.799999237061, 0, 0, 98.976440429688); CreateObject(1649, 1013.5999755859, -923.09997558594, 51.099998474121, 0, 0, 98.476440429688); CreateObject(1649, 1012.9000244141, -918.79998779297, 51.099998474121, 0, 0, 98.476440429688); CreateObject(14387, 1014.299987793, -918.5, 45.299999237061, 0, 0, 8); CreateObject(14387, 1014, -916.2998046875, 45.299999237061, 0, 0, 7.9925537109375); CreateObject(1649, 1012, -912, 47.799999237061, 0, 0, 97.987060546875); CreateObject(1649, 1012, -912, 47.799999237061, 0, 0, 277.48706054688); CreateObject(1649, 1012, -912, 51.099998474121, 0, 0, 97.987060546875); CreateObject(1649, 1012, -912, 51.099998474121, 0, 0, 277.48168945313); CreateObject(1649, 1012.4000244141, -914.79998779297, 51.099998474121, 0, 0, 97.237060546875); CreateObject(1649, 1012.3994140625, -914.7998046875, 51.099998474121, 0, 0, 275.98706054688); CreateObject(9833, 1018.799987793, -917.40002441406, 48.700000762939, 0, 0, 6); CreateObject(1419, 1014.0999755859, -928.29998779297, 46.200000762939, 0, 0, 187.73962402344); CreateObject(1419, 1015.700012207, -926.09997558594, 46.200000762939, 0, 0, 97.734375); CreateObject(1419, 1015.5, -924.59997558594, 46.200000762939, 0, 0, 97.734375); CreateObject(1419, 1017.299987793, -922.29998779297, 46.200000762939, 0, 0, 187.734375); CreateObject(1419, 1019.4000244141, -922, 46.200000762939, 0, 0, 187.734375); CreateObject(1419, 1021.200012207, -919.79998779297, 46.200000762939, 0, 0, 96.984375); CreateObject(1419, 1020.5999755859, -915.79998779297, 46.200000762939, 0, 0, 96.981811523438); CreateObject(1419, 1020.5, -914.79998779297, 46.200000762939, 0, 0, 96.981811523438); CreateObject(1419, 1018.299987793, -913, 46.200000762939, 0, 0, 187.48181152344); CreateObject(1419, 1016, -913.29998779297, 46.200000762939, 0, 0, 187.48168945313); CreateObject(1419, 1013.700012207, -911.59997558594, 46.200000762939, 0, 0, 97.231689453125); CreateObject(1419, 1013.5, -910.09997558594, 46.200000762939, 0, 0, 97.22900390625); CreateObject(1419, 1011.299987793, -908.29998779297, 46.200000762939, 0, 0, 188.48168945313); CreateObject(9833, 1018.799987793, -917.40002441406, 43.700000762939, 0, 0, 5.99853515625); CreateObject(3037, 1015.0999755859, -913.59997558594, 43.400001525879, 0, 0, 278); CreateObject(3037, 1016.299987793, -922.29998779297, 43.400001525879, 0, 0, 277.998046875); CreateObject(1649, 995.20001220703, -928.29998779297, 47.799999237061, 0, 0, 188.71813964844); CreateObject(1649, 995.20001220703, -928.29998779297, 51.099998474121, 0, 0, 188.71765136719); CreateObject(1649, 995.19921875, -928.2998046875, 51.099998474121, 0, 0, 6.7176513671875); CreateObject(1649, 995.20001220703, -928.29998779297, 47.799999237061, 0, 0, 6.7176513671875); CreateObject(1649, 998.09997558594, -927.90002441406, 47.799999237061, 0, 0, 188.71765136719); CreateObject(1649, 998.09997558594, -927.90002441406, 51.099998474121, 0, 0, 188.71765136719); CreateObject(1649, 998.099609375, -927.8994140625, 51.099998474121, 0, 0, 6.7176513671875); CreateObject(1649, 998.09997558594, -927.90002441406, 47.799999237061, 0, 0, 6.712646484375); CreateObject(1649, 1011.799987793, -925.59997558594, 47.799999237061, 0, 0, 188.46765136719); CreateObject(1649, 1011.799987793, -925.59997558594, 51.099998474121, 0, 0, 188.46496582031); CreateObject(1649, 1011.7998046875, -925.599609375, 47.799999237061, 0, 0, 8.4649658203125); CreateObject(1649, 1011.7998046875, -925.599609375, 51.099998474121, 0, 0, 8.4649658203125); CreateObject(1649, 1010.299987793, -925.90002441406, 47.799999237061, 0, 0, 188.46496582031); CreateObject(1649, 1010.299987793, -925.90002441406, 51.099998474121, 0, 0, 188.46496582031); CreateObject(1649, 1010.299987793, -925.79998779297, 51.099998474121, 0, 0, 8.4649658203125); CreateObject(1649, 1010.299987793, -925.79998779297, 47.799999237061, 0, 0, 8.4649658203125); CreateObject(1649, 1002.4000244141, -927.20001220703, 51.099998474121, 0, 0, 11.217651367188); CreateObject(1649, 1006.5999755859, -926.40002441406, 51.099998474121, 0, 0, 11.214233398438); CreateObject(1649, 1006.599609375, -926.3994140625, 51.099998474121, 0, 0, 189.96179199219); CreateObject(1649, 1002.3994140625, -927.19921875, 51.099998474121, 0, 0, 190.96423339844); CreateObject(1649, 1013.599609375, -923.099609375, 47.799999237061, 0, 0, 278.97583007813); CreateObject(1649, 1013.599609375, -923.099609375, 51.099998474121, 0, 0, 278.47595214844); CreateObject(1649, 1012.8994140625, -918.7998046875, 51.099998474121, 0, 0, 278.47595214844); CreateObject(3115, 1002.4000244141, -919.09997558594, 53, 0, 0, 7.9925537109375); CreateObject(2964, 998.09997558594, -939.59997558594, 47.200000762939, 0, 0, 8); CreateObject(2964, 997.20001220703, -933.40002441406, 47.200000762939, 0, 0, 7.998046875); CreateObject(2964, 996, -936.79998779297, 47.200000762939, 0, 0, 7.998046875); CreateObject(1978, 999.40002441406, -943.40002441406, 48.299999237061, 0, 0, 10); CreateObject(2785, 997.70001220703, -928.40002441406, 48.099998474121, 0, 0, 8); CreateObject(1712, 994.29998779297, -931.29998779297, 47.200000762939, 0, 0, 10); CreateObject(1712, 996.59997558594, -930.90002441406, 47.200000762939, 0, 0, 9.99755859375); CreateObject(1712, 996.70001220703, -944.90002441406, 47.200000762939, 0, 0, 100.24755859375); CreateObject(1712, 996.20001220703, -942.5, 47.200000762939, 0, 0, 100.24475097656); CreateObject(1709, 1005.799987793, -910.79998779297, 46.200000762939, 0, 0, 10); CreateObject(1709, 993.59997558594, -916.90002441406, 46.200000762939, 0, 0, 101.99752807617); CreateObject(1709, 998.79998779297, -925.29998779297, 46.200000762939, 0, 0, 187.9970703125); CreateObject(1709, 1012, -921.20001220703, 46.200000762939, 0, 0, 227.99255371094); CreateObject(1825, 997.79998779297, -923.20001220703, 46.200000762939, 0, 0, 0); CreateObject(1825, 997.09997558594, -918.59997558594, 46.200000762939, 0, 0, 0); CreateObject(1825, 996.20001220703, -913.59997558594, 46.200000762939, 0, 0, 0); CreateObject(1825, 1006.9000244141, -912.79998779297, 46.200000762939, 0, 0, 0); CreateObject(1825, 1007.299987793, -917.79998779297, 46.200000762939, 0, 0, 0); CreateObject(1825, 1007.799987793, -922.09997558594, 46.200000762939, 0, 0, 0); CreateObject(2592, 1000.799987793, -910.09997558594, 47.099998474121, 0, 0, 8); CreateObject(2799, 1001.5999755859, -913.29998779297, 46.700000762939, 0, 0, 40); CreateObject(2799, 1001.599609375, -913.2998046875, 46.700000762939, 0, 0, 129.99572753906); CreateObject(2799, 1002.200012207, -917.79998779297, 46.700000762939, 0, 0, 129.99572753906); CreateObject(2799, 1002.19921875, -917.7998046875, 46.700000762939, 0, 0, 39.995727539063); CreateObject(14835, 1007.299987793, -935.79998779297, 48.299999237061, 0, 0, 278); CreateObject(1542, 1012.4000244141, -932.70001220703, 48, 0, 0, 280);[/pawn] €njoy (care ma ajuta si pe mn cu NPC) PLSS
-
Streamer:: Folosesc Incognito's Streamer .inainte sa pun streameru apar iar cand il pun dispar dc )??(e fix invers) Streamer.inc a fst modificat de mn ca imi dadea niste errori [pawn]/* SA-MP Streamer Plugin v2.5.2 R2 Copyright © 2011 Incognito This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <a_samp> // Definitions #define STREAMER_TYPE_OBJECT (0) #define STREAMER_TYPE_PICKUP (1) #define STREAMER_TYPE_CP (2) #define STREAMER_TYPE_RACE_CP (3) #define STREAMER_TYPE_MAP_ICON (4) #define STREAMER_TYPE_3D_TEXT_LABEL (5) #define STREAMER_TYPE_AREA (6) // Enumerator enum { E_STREAMER_ATTACHED_PLAYER, E_STREAMER_ATTACHED_VEHICLE, E_STREAMER_COLOR, E_STREAMER_DISTANCE, E_STREAMER_DRAW_DISTANCE, E_STREAMER_EXTRA_ID, E_STREAMER_INTERIOR_ID, E_STREAMER_MAX_X, E_STREAMER_MAX_Y, E_STREAMER_MAX_Z, E_STREAMER_MIN_X, E_STREAMER_MIN_Y, E_STREAMER_MIN_Z, E_STREAMER_MODEL_ID, E_STREAMER_MOVE_SPEED, E_STREAMER_MOVE_X, E_STREAMER_MOVE_Y, E_STREAMER_MOVE_Z, E_STREAMER_NEXT_X, E_STREAMER_NEXT_Y, E_STREAMER_NEXT_Z, E_STREAMER_PLAYER_ID, E_STREAMER_R_X, E_STREAMER_R_Y, E_STREAMER_R_Z, E_STREAMER_SIZE, E_STREAMER_STYLE, E_STREAMER_TEST_LOS, E_STREAMER_TYPE, E_STREAMER_WORLD_ID, E_STREAMER_X, E_STREAMER_Y, E_STREAMER_Z } // Natives (Settings) native Streamer_TickRate(rate); native Streamer_MaxItems(type, items); native Streamer_VisibleItems(type, items); native Streamer_CellDistance(Float:distance); native Streamer_CellSize(Float:size); // Natives (Updates) native Streamer_Update(playerid); native Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z); // Natives (Data Manipulation) native Streamer_GetFloatData(type, {Text3D,_}:id, data, &Float:result); native Streamer_SetFloatData(type, {Text3D,_}:id, data, Float:value); native Streamer_GetIntData(type, {Text3D,_}:id, data); native Streamer_SetIntData(type, {Text3D,_}:id, data, value); native Streamer_IsInArrayData(type, {Text3D,_}:id, data, value); native Streamer_AppendArrayData(type, {Text3D,_}:id, data, value); native Streamer_RemoveArrayData(type, {Text3D,_}:id, data, value); native Streamer_GetUpperBound(type); // Natives (Miscellaneous) native Streamer_IsItemVisible(playerid, type, {Text3D,_}:id); native Streamer_DestroyAllVisibleItems(playerid, type); native Streamer_CountVisibleItems(playerid, type); // Natives (Objects) native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0); native DestroyDynamicObject(objectid); native IsValidDynamicObject(objectid); native SetDynamicObjectPos(objectid, Float:x, Float:y, Float:z); native GetDynamicObjectPos(objectid, &Float:x, &Float:y, &Float:z); native SetDynamicObjectRot(objectid, Float:rx, Float:ry, Float:rz); native GetDynamicObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz); native MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed); native StopDynamicObject(objectid); native DestroyAllDynamicObjects(); native CountDynamicObjects(); // Natives (Pickups) native CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0); native DestroyDynamicPickup(pickupid); native IsValidDynamicPickup(pickupid); native DestroyAllDynamicPickups(); native CountDynamicPickups(); // Natives (Checkpoints) native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0); native DestroyDynamicCP(checkpointid); native IsValidDynamicCP(checkpointid); native TogglePlayerDynamicCP(playerid, checkpointid, toggle); native TogglePlayerAllDynamicCPs(playerid, toggle); native IsPlayerInDynamicCP(playerid, checkpointid); native DestroyAllDynamicCPs(); native CountDynamicCPs(); // Natives (Race Checkpoints) native CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0); native DestroyDynamicRaceCP(checkpointid); native IsValidDynamicRaceCP(checkpointid); native TogglePlayerDynamicRaceCP(playerid, checkpointid, toggle); native TogglePlayerAllDynamicRaceCPs(playerid, toggle); native IsPlayerInDynamicRaceCP(playerid, checkpointid); native DestroyAllDynamicRaceCPs(); native CountDynamicRaceCPs(); // Natives (Map Icons) native CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0); native DestroyDynamicMapIcon(iconid); native IsValidDynamicMapIcon(iconid); native DestroyAllDynamicMapIcons(); native CountDynamicMapIcons(); // Natives (3D Text Labels) native Text3D:CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0); native DestroyDynamic3DTextLabel(Text3D:id); native IsValidDynamic3DTextLabel(Text3D:id); native UpdateDynamic3DTextLabelText(Text3D:id, color, const text[]); native DestroyAllDynamic3DTextLabels(); native CountDynamic3DTextLabels(); // Natives (Areas) native CreateDynamicCircle(Float:x, Float:y, Float:size, worldid = -1, interiorid = -1, playerid = -1); native CreateDynamicRectangle(Float:minx, Float:miny, Float:maxx, Float:maxy, worldid = -1, interiorid = -1, playerid = -1); native CreateDynamicSphere(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1); native CreateDynamicCube(Float:minx, Float:miny, Float:minz, Float:maxx, Float:maxy, Float:maxz, worldid = -1, interiorid = -1, playerid = -1); native DestroyDynamicArea(areaid); native IsValidDynamicArea(areaid); native TogglePlayerDynamicArea(playerid, areaid, toggle); native TogglePlayerAllDynamicAreas(playerid, toggle); native IsPlayerInDynamicArea(playerid, areaid); native AttachDynamicAreaToPlayer(areaid, playerid); native AttachDynamicAreaToVehicle(areaid, vehicleid); native DestroyAllDynamicAreas(); native CountDynamicAreas(); // Natives (Internals) native Streamer_AddPlayer(playerid); native Streamer_RemovePlayer(playerid); native Streamer_VerifyPickup(playerid, pickupid); native Streamer_VerifyCheckpoint(playerid, type, status); native Streamer_RegisterInterface(); // Callbacks forward OnDynamicObjectMoved(objectid); forward OnPlayerPickUpDynamicPickup(playerid, pickupid); forward OnPlayerEnterDynamicCP(playerid, checkpointid); forward OnPlayerLeaveDynamicCP(playerid, checkpointid); forward OnPlayerEnterDynamicRaceCP(playerid, checkpointid); forward OnPlayerLeaveDynamicRaceCP(playerid, checkpointid); forward OnPlayerEnterDynamicArea(playerid, areaid); forward OnPlayerLeaveDynamicArea(playerid, areaid); // Callback Hook Section static bool:Streamer_g_OPC = false; static bool:Streamer_g_OPDC = false; static bool:Streamer_g_OPPP = false; static bool:Streamer_g_OPEC = false; static bool:Streamer_g_OPLC = false; static bool:Streamer_g_OPERC = false; static bool:Streamer_g_OPLRC = false; static bool:Streamer_g_RI = false; public OnFilterScriptInit() { if (!Streamer_g_RI) { Streamer_g_OPC = funcidx("Streamer_OnPlayerConnect") != -1; Streamer_g_OPDC = funcidx("Streamer_OnPlayerDisconnect") != -1; Streamer_g_OPPP = funcidx("Streamer_OnPlayerPickUpPickup") != -1; Streamer_g_OPEC = funcidx("Streamer_OnPlayerEnterCP") != -1; Streamer_g_OPLC = funcidx("Streamer_OnPlayerLeaveCP") != -1; Streamer_g_OPERC = funcidx("Streamer_OnPlayerEnterRaceCP") != -1; Streamer_g_OPLRC = funcidx("Streamer_OnPlayerLeaveRaceCP") != -1; Streamer_g_RI = true; Streamer_RegisterInterface(); } if (funcidx("Streamer_OnFilterScriptInit") != -1) { return CallLocalFunction("Streamer_OnFilterScriptInit", ""); } return 1; } #if defined _ALS_OnFilterScriptInit #undef OnFilterScriptInit #else #define _ALS_OnFilterScriptInit #endif #define OnFilterScriptInit Streamer_OnFilterScriptInit forward Streamer_OnFilterScriptInit(); public OnGameModeInit() { if (!Streamer_g_RI) { Streamer_g_OPC = funcidx("Streamer_OnPlayerConnect") != -1; Streamer_g_OPDC = funcidx("Streamer_OnPlayerDisconnect") != -1; Streamer_g_OPPP = funcidx("Streamer_OnPlayerPickUpPickup") != -1; Streamer_g_OPEC = funcidx("Streamer_OnPlayerEnterCP") != -1; Streamer_g_OPLC = funcidx("Streamer_OnPlayerLeaveCP") != -1; Streamer_g_OPERC = funcidx("Streamer_OnPlayerEnterRaceCP") != -1; Streamer_g_OPLRC = funcidx("Streamer_OnPlayerLeaveRaceCP") != -1; Streamer_g_RI = true; Streamer_RegisterInterface(); } if (funcidx("Streamer_OnGameModeInit") != -1) { return CallLocalFunction("Streamer_OnGameModeInit", ""); } return 1; } #if defined _ALS_OnGameModeInit #undef OnGameModeInit #else #define _ALS_OnGameModeInit #endif #define OnGameModeInit Streamer_OnGameModeInit forward Streamer_OnGameModeInit(); public OnPlayerConnect(playerid) { if (!IsPlayerNPC(playerid)) { Streamer_AddPlayer(playerid); } if (Streamer_g_OPC) { return CallLocalFunction("Streamer_OnPlayerConnect", "d", playerid); } return 1; } #if defined _ALS_OnPlayerConnect #undef OnPlayerConnect #else #define _ALS_OnPlayerConnect #endif #define OnPlayerConnect Streamer_OnPlayerConnect forward Streamer_OnPlayerConnect(playerid); public OnPlayerDisconnect(playerid, reason) { if (!IsPlayerNPC(playerid)) { Streamer_RemovePlayer(playerid); } if (Streamer_g_OPDC) { return CallLocalFunction("Streamer_OnPlayerDisconnect", "dd", playerid, reason); } return 1; } #if defined _ALS_OnPlayerDisconnect #undef OnPlayerDisconnect #else #define _ALS_OnPlayerDisconnect #endif #define OnPlayerDisconnect Streamer_OnPlayerDisconnect forward Streamer_OnPlayerDisconnect(playerid, reason); public OnPlayerPickUpPickup(playerid, pickupid) { if (!IsPlayerNPC(playerid)) { Streamer_VerifyPickup(playerid, pickupid); } if (Streamer_g_OPPP) { return CallLocalFunction("Streamer_OnPlayerPickUpPickup", "dd", playerid, pickupid); } return 1; } #if defined _ALS_OnPlayerPickUpPickup #undef OnPlayerPickUpPickup #else #define _ALS_OnPlayerPickUpPickup #endif #define OnPlayerPickUpPickup Streamer_OnPlayerPickUpPickup forward Streamer_OnPlayerPickUpPickup(playerid, pickupid); public OnPlayerEnterCheckpoint(playerid) { if (!IsPlayerNPC(playerid)) { Streamer_VerifyCheckpoint(playerid, STREAMER_TYPE_CP, 0); } if (Streamer_g_OPEC) { return CallLocalFunction("Streamer_OnPlayerEnterCP", "d", playerid); } return 1; } #if defined _ALS_OnPlayerEnterCheckpoint #undef OnPlayerEnterCheckpoint #else #define _ALS_OnPlayerEnterCheckpoint #endif #define OnPlayerEnterCheckpoint Streamer_OnPlayerEnterCP forward Streamer_OnPlayerEnterCP(playerid); public OnPlayerLeaveCheckpoint(playerid) { if (!IsPlayerNPC(playerid)) { Streamer_VerifyCheckpoint(playerid, STREAMER_TYPE_CP, 1); } if (Streamer_g_OPLC) { return CallLocalFunction("Streamer_OnPlayerLeaveCP", "d", playerid); } return 1; } #if defined _ALS_OnPlayerLeaveCheckpoint #undef OnPlayerLeaveCheckpoint #else #define _ALS_OnPlayerLeaveCheckpoint #endif #define OnPlayerLeaveCheckpoint Streamer_OnPlayerLeaveCP forward Streamer_OnPlayerLeaveCP(playerid); public OnPlayerEnterRaceCheckpoint(playerid) { if (!IsPlayerNPC(playerid)) { Streamer_VerifyCheckpoint(playerid, STREAMER_TYPE_RACE_CP, 0); } if (Streamer_g_OPERC) { return CallLocalFunction("Streamer_OnPlayerEnterRaceCP", "d", playerid); } return 1; } #if defined _ALS_OnPlayerEnterRaceCP #undef OnPlayerEnterRaceCheckpoint #else #define _ALS_OnPlayerEnterRaceCP #endif forward Streamer_OnPlayerEnterRaceCP(playerid); public OnPlayerLeaveRaceCheckpoint(playerid) { if (!IsPlayerNPC(playerid)) { Streamer_VerifyCheckpoint(playerid, STREAMER_TYPE_RACE_CP, 1); } if (Streamer_g_OPLRC) { return CallLocalFunction("Streamer_OnPlayerLeaveRaceCP", "d", playerid); } return 1; } #if defined _ALS_OnPlayerLeaveRaceCP #undef OnPlayerLeaveRaceCheckpoint #else #define _ALS_OnPlayerLeaveRaceCP #endif #define OnPlayerLeaveRaceCheckpoint Streamer_OnPlayerLeaveRaceCP forward Streamer_OnPlayerLeaveRaceCP(playerid); // PAWN Invoke Section forward Streamer_PublicFunction(); public Streamer_PublicFunction() { new Float:value; CreatePickup(0, 0, 0.0, 0.0, 0.0, 0); CreatePlayer3DTextLabel(0, "", 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0); CreatePlayerObject(0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); DeletePlayer3DTextLabel(0, PlayerText3D:0); DestroyPickup(0); DestroyPlayerObject(0, 0); DisablePlayerCheckpoint(0); DisablePlayerRaceCheckpoint(0); GetPlayerInterior(0); GetPlayerPos(0, value, value, value); GetPlayerState(0); GetPlayerVirtualWorld(0); GetVehiclePos(0, value, value, value); MovePlayerObject(0, 0, 0.0, 0.0, 0.0, 0.0); RemovePlayerMapIcon(0, 0); SetPlayerCheckpoint(0, 0.0, 0.0, 0.0, 0.0); SetPlayerMapIcon(0, 0, 0.0, 0.0, 0.0, 0, 0, 0); SetPlayerObjectPos(0, 0, 0.0, 0.0, 0.0); SetPlayerObjectRot(0, 0, 0.0, 0.0, 0.0); SetPlayerRaceCheckpoint(0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); StopPlayerObject(0, 0); UpdatePlayer3DTextLabelText(0, PlayerText3D:0, 0, ""); return 1; } [/pawn]
-
salut.. deci asta E in Fs [pawn]// This is a comment // uncomment the line below if you want to write a filterscript #define FILTERSCRIPT #include <a_samp> new bus; #if defined FILTERSCRIPT public OnFilterScriptInit() { ConnectNPC("Lorenzo", "dave"); bus = CreateVehicle(431,1785.0498,-1929.7227,13.4885,0.8961,21,42,9999999); } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnPlayerSpawn(playerid) { if(IsPlayerNPC(playerid)) //Verifica daca playerul este NPC { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); //Luam numele NPCului if(!strcmp(npcname, "Lorenzo", true)) //Verificam daca numele NPCului este "NUME" { PutPlayerInVehicle(playerid, bus, 0); //Punem NPCul in vehicul } } return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } [/pawn] asta este FS . nume [pawn]npc[/pawn] acesta este in folderu npcmodes [pawn]// This is a comment // uncomment the line below if you want to write a filterscript #define FILTERSCRIPT #include <a_samp> new bus; #if defined FILTERSCRIPT public OnFilterScriptInit() { ConnectNPC("Lorenzo", "dave"); bus = CreateVehicle(431,1785.0498,-1929.7227,13.4885,0.8961,21,42,9999999); } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnPlayerSpawn(playerid) { if(IsPlayerNPC(playerid)) //Verifica daca playerul este NPC { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); //Luam numele NPCului if(!strcmp(npcname, "Lorenzo", true)) //Verificam daca numele NPCului este "NUME" { PutPlayerInVehicle(playerid, bus, 0); //Punem NPCul in vehicul } } return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } [/pawn] nume [pawn]Lorenzo[/pawn] si mai am fiseru dave.rec in [pawn]recordings[/pawn] deci intra pe svr numai ca mil da pe un camp .el trebuia sa conduca. cum rezolv? P.S Puteti da lock la celelate topicuri ale mele legate de npc
-
salut.. deci asta E in Fs [pawn]// This is a comment // uncomment the line below if you want to write a filterscript #define FILTERSCRIPT #include <a_samp> new bus; #if defined FILTERSCRIPT public OnFilterScriptInit() { ConnectNPC("Lorenzo", "dave"); bus = CreateVehicle(431,1785.0498,-1929.7227,13.4885,0.8961,21,42,9999999); } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnPlayerSpawn(playerid) { if(IsPlayerNPC(playerid)) //Verifica daca playerul este NPC { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); //Luam numele NPCului if(!strcmp(npcname, "Lorenzo", true)) //Verificam daca numele NPCului este "NUME" { PutPlayerInVehicle(playerid, bus, 0); //Punem NPCul in vehicul } } return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } [/pawn] asta este FS . nume [pawn]npc[/pawn] acesta este in folderu npcmodes [pawn]// This is a comment // uncomment the line below if you want to write a filterscript #define FILTERSCRIPT #include <a_samp> new bus; #if defined FILTERSCRIPT public OnFilterScriptInit() { ConnectNPC("Lorenzo", "dave"); bus = CreateVehicle(431,1785.0498,-1929.7227,13.4885,0.8961,21,42,9999999); } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnPlayerSpawn(playerid) { if(IsPlayerNPC(playerid)) //Verifica daca playerul este NPC { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); //Luam numele NPCului if(!strcmp(npcname, "Lorenzo", true)) //Verificam daca numele NPCului este "NUME" { PutPlayerInVehicle(playerid, bus, 0); //Punem NPCul in vehicul } } return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } [/pawn] nume [pawn]Lorenzo[/pawn] si mai am fiseru dave.rec in [pawn]recordings[/pawn] deci intra pe svr numai ca mil da pe un camp .el trebuia sa conduca. cum rezolv?
-
akm nici nul mai deschide..
-
UP!!!!!!! mai am un post da vad ca nimica .. sariti peste el ... parca nu lati vedea ;)
-
nsh dc imi conecteaza npc si dp mil deconecteaza Aici e FS [pawn]// This is a comment // uncomment the line below if you want to write a filterscript #define FILTERSCRIPT #pragma tabsize 0 #include <a_samp> new david; #if defined FILTERSCRIPT public OnFilterScriptInit() { } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnGameModeInit() { ConnectNPC("dave", "dave"); { david = CreateVehicle(431,1785.0498,-1929.7227,13.4885,0.8961,21,42); // pleacare; return 1; } } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { if( IsPlayerNPC( playerid ) ) return 1; SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerConnect(playerid) { if( IsPlayerNPC( playerid ) ) return 1; return 1; } public OnPlayerDisconnect(playerid, reason) { if( IsPlayerNPC( playerid ) ) return 1; return 1; } public OnPlayerSpawn(playerid) { if( IsPlayerNPC( playerid ) ) return 1; { if(IsPlayerNPC(playerid)) //Verifica daca playerul este NPC { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); //Luam numele NPCului if(!strcmp(npcname, "dave", true)) //Verificam daca numele NPCului este "NUME" { PutPlayerInVehicle(playerid, david, 0); //Punem NPCul in vehicul } return 1; } } return 1; } [/pawn] Chair daca am pus [pawn]if( IsPlayerNPC( playerid ) ) return 1;[/pawn]
-
da copaci in aer ai vz )=)) (copaci in pamant nu prea am vazut eu) 5/5
-
la aia cu stremeru ma ajutat :cookie (ms mult) mai am asta .:C:\Users\Cbu-Samp\Desktop\BestLife\gamemodes\edit.pwn(14270) : warning 219: local variable "mod" shadows a variable at a preceding level
-
poi am un streamer ala mai nou http://forum.sa-mp.com/showthread.php?t=102865 [pawn]C:\Users\Cbu-Samp\Desktop\BestLife\pawno\include\streamer.inc(395) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint") C:\Users\Cbu-Samp\Desktop\BestLife\gamemodes\edit.pwn(14270) : warning 219: local variable "mod" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 11188 bytes Code size: 1769576 bytes Data size: 6725356 bytes Stack/heap size: 16384 bytes; estimated max. usage=4462 cells (17848 bytes) Total requirements: 8522504 bytes 2 Warnings. [/pawn] Linea new mod = 100;
-
Ms merge .. numai ca tot mai da warnu ala.. MAI AM O MICA problema .. cand ma loghez .. pun o parola la abureala si merge OnPlayerLogin [pawn]{ new tmp2[256]; new string2[64]; new playername2[MAX_PLAYER_NAME]; new playernamesplit[3][MAX_PLAYER_NAME]; GetPlayerName(playerid, playername2, sizeof(playername2)); split(playername2, playernamesplit, '_'); format(string2, sizeof(string2), "%s.ini", playername2); new File: UserFile = fopen(string2, io_read); if ( UserFile ) { new PassData[256]; new keytmp[256], valtmp[256]; fread( UserFile , PassData , sizeof( PassData ) ); keytmp = ini_GetKey( PassData ); if( strcmp( keytmp , "Key" , true ) == 0 ) { valtmp = ini_GetValue( PassData ); strmid(PlayerInfo[playerid][pKey], valtmp, 0, strlen(valtmp)-1, 255); } if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 ) { new key[ 256 ] , val[ 256 ]; new Data[ 256 ]; while ( fread( UserFile , Data , sizeof( Data ) ) ) { key = ini_GetKey( Data ); if( strcmp( key , "Level" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLevel] = strval( val ); } if( strcmp( key , "AdminLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdmin] = strval( val ); } if( strcmp( key , "HelperLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHelper] = strval( val ); } if( strcmp( key , "DonateRank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDonateRank] = strval( val ); } if( strcmp( key , "UpgradePoints" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][gPupgrade] = strval( val ); } if( strcmp( key , "ConnectedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pConnectTime] = strval( val ); } if( strcmp( key , "NFS CLub" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pNfs] = strval( val ); } if( strcmp( key , "Registered" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pReg] = strval( val ); } if( strcmp( key , "Sex" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSex] = strval( val ); } if( strcmp( key , "Age" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid] = strval( val ); } if( strcmp( key , "Origin" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pOrigin] = strval( val ); } if( strcmp( key , "CK" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCK] = strval( val ); } if( strcmp( key , "Muted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMuted] = strval( val ); } if( strcmp( key , "Respect" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pExp] = strval( val ); } if( strcmp( key , "Money" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCash] = strval( val ); } if( strcmp( key , "Bank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAccount] = strval( val ); } if( strcmp( key , "Crimes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCrimes] = strval( val ); } if( strcmp( key , "Kills" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pKills] = strval( val ); } if( strcmp( key , "Deaths" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDeaths] = strval( val ); } if( strcmp( key , "Arrested" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pArrested] = strval( val ); } if( strcmp( key , "WantedDeaths" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWantedDeaths] = strval( val ); } if( strcmp( key , "Phonebook" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPhoneBook] = strval( val ); } if( strcmp( key , "LottoNr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLottoNr] = strval( val ); } if( strcmp( key , "Fishes" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFishes] = strval( val ); } if( strcmp( key , "BiggestFish" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBiggestFish] = strval( val ); } if( strcmp( key , "Job" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJob] = strval( val ); } if( strcmp( key , "Paycheck" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayCheck] = strval( val ); } if( strcmp( key , "HeadValue" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHeadValue] = strval( val ); } if( strcmp( key , "Jailed" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJailed] = strval( val ); } if( strcmp( key , "JailTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJailTime] = strval( val ); } if( strcmp( key , "Materials" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMats] = strval( val ); } if( strcmp( key , "Drugs" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDrugs] = strval( val ); } if( strcmp( key , "Leader" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLeader] = strval( val ); } if( strcmp( key , "Member" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMember] = strval( val ); } if( strcmp( key , "FMember" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFMember] = strval( val ); } if( strcmp( key , "Rank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pRank] = strval( val ); } if( strcmp( key , "Char" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pChar] = strval( val ); } if( strcmp( key , "ContractTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pContractTime] = strval( val ); } if( strcmp( key , "DetSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDetSkill] = strval( val ); } if( strcmp( key , "SexSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSexSkill] = strval( val ); } if( strcmp( key , "BoxSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBoxSkill] = strval( val ); } if( strcmp( key , "LawSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLawSkill] = strval( val ); } if( strcmp( key , "MechSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMechSkill] = strval( val ); } if( strcmp( key , "JackSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pJackSkill] = strval( val ); } if( strcmp( key , "CarSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarSkill] = strval( val ); } if( strcmp( key , "NewsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pNewsSkill] = strval( val ); } if( strcmp( key , "DrugsSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDrugsSkill] = strval( val ); } if( strcmp( key , "CookSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCookSkill] = strval( val ); } if( strcmp( key , "FishSkill" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFishSkill] = strval( val ); } if( strcmp( key , "pSHealth" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSHealth] = floatstr( val ); } if( strcmp( key , "pHealth" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHealth] = floatstr( val ); } if( strcmp( key , "Int" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pInt] = strval( val ); } if( strcmp( key , "Local" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLocal] = strval( val ); } if( strcmp( key , "Team" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTeam] = strval( val ); } if( strcmp( key , "Model" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pModel] = strval( val ); } if( strcmp( key , "PhoneNr" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPnumber] = strval( val ); } if( strcmp( key , "House" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPhousekey] = strval( val ); } if( strcmp( key , "Bizz" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPbiskey] = strval( val ); } if( strcmp( key , "Pos_x" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_x] = floatstr( val ); } if( strcmp( key , "Pos_y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_y] = floatstr( val ); } if( strcmp( key , "Pos_z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPos_z] = floatstr( val ); } if( strcmp( key , "CarLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarLic] = strval( val ); } if( strcmp( key , "FlyLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFlyLic] = strval( val ); } if( strcmp( key , "BoatLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBoatLic] = strval( val ); } if( strcmp( key , "FishLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFishLic] = strval( val ); } if( strcmp( key , "GunLic" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGunLic] = strval( val ); } if( strcmp( key , "Gun1" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun1] = strval( val ); } if( strcmp( key , "Gun2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun2] = strval( val ); } if( strcmp( key , "Gun3" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun3] = strval( val ); } if( strcmp( key , "Gun4" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGun4] = strval( val ); } if( strcmp( key , "Ammo1" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo1] = strval( val ); } if( strcmp( key , "Ammo2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo2] = strval( val ); } if( strcmp( key , "Ammo3" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo3] = strval( val ); } if( strcmp( key , "Ammo4" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAmmo4] = strval( val ); } if( strcmp( key , "CarTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCarTime] = strval( val ); } if( strcmp( key , "PayDay" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayDay] = strval( val ); } if( strcmp( key , "PayDayHad" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPayDayHad] = strval( val ); } if( strcmp( key , "CDPlayer" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCDPlayer] = strval( val ); } if( strcmp( key , "Wins" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWins] = strval( val ); } if( strcmp( key , "Loses" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLoses] = strval( val ); } if( strcmp( key , "AlcoholPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAlcoholPerk] = strval( val ); } if( strcmp( key , "DrugPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDrugPerk] = strval( val ); } if( strcmp( key , "MiserPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMiserPerk] = strval( val ); } if( strcmp( key , "PainPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPainPerk] = strval( val ); } if( strcmp( key , "TraderPerk" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTraderPerk] = strval( val ); } if( strcmp( key , "Warnings" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWarns] = strval( val ); } if( strcmp( key , "Tutorial" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pTut] = strval( val ); } if( strcmp( key , "Mission" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMissionNr] = strval( val ); } if( strcmp( key , "Warnings" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pWarns] = strval( val ); } if( strcmp( key , "Adjustable" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdjustable] = strval( val ); } if( strcmp( key , "Fuel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pFuel] = strval( val ); } if( strcmp( key , "Married" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMarried] = strval( val ); } if( strcmp( key , "MarriedTo" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayerInfo[playerid][pMarriedTo], val, 0, strlen(val)-1, 255); } if( strcmp( key , "Crack" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCrack] = strval( val ); } if( strcmp( key , "Passport" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pPassport] = strvalEx( val ); } if( strcmp( key , "CabinetTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCabinetTime] = strval( val ); } }//end while fclose(UserFile);//close the file after everything has been read in the while } else { new loginstring[128]; new loginname[64]; GetPlayerName(playerid,loginname,sizeof(loginname)); format(loginstring,sizeof(loginstring),"Wrong Password\nPlease insert the correct password:",loginname); ShowPlayerDialog(playerid,12347,DIALOG_STYLE_INPUT,"Login",loginstring,"Login","Exit"); fclose(UserFile); gPlayerLogTries[playerid] += 1; if(gPlayerLogTries[playerid] == 4) { Ban(playerid); } return 1; } PlayerInfo[playerid][pAdjustable] = 0; ResetPlayerMoney(playerid); ConsumingMoney[playerid] = 1; GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]); CurrentMoney[playerid] = PlayerInfo[playerid][pCash]; if(PlayerInfo[playerid][pReg] == 0) { PlayerInfo[playerid][pLevel] = 1; PlayerInfo[playerid][pSHealth] = 0.0; PlayerInfo[playerid][pHealth] = 50.0; PlayerInfo[playerid][pPos_x] = 2246.6; PlayerInfo[playerid][pPos_y] = -1161.9; PlayerInfo[playerid][pPos_z] = 1029.7; PlayerInfo[playerid][pInt] = 15; PlayerInfo[playerid][pLocal] = 255; PlayerInfo[playerid][pTeam] = 3; PlayerInfo[playerid][pModel] = 60; new randphone = 1000 + random(8999);//minimum 1000 max 9999 //giving one at the start PlayerInfo[playerid][pPnumber] = randphone; PlayerInfo[playerid][pPhousekey] = 255; PlayerInfo[playerid][pPbiskey] = 255; PlayerInfo[playerid][pAccount] = 50000; PlayerInfo[playerid][pReg] = 1; GivePlayerMoney(playerid, 5000); } if(PlayerInfo[playerid][pLevel] == -999) //autoban { Ban(playerid); } else if(PlayerInfo[playerid][pCK] > 0) { Kick(playerid); } format(string2, sizeof(string2), "* Welcome %s",playername2); SendClientMessage(playerid, COLOR_WHITE,string2); printf("%s has logged in.",playername2); if (PlayerInfo[playerid][pDonateRank] > 0) { SendClientMessage(playerid, COLOR_WHITE,"* You are a Premium Account user."); } if (PlayerInfo[playerid][pAdmin] > 0) { format(string2, sizeof(string2), "* You are logged in as a Level %d Admin.",PlayerInfo[playerid][pAdmin]); SendClientMessage(playerid, COLOR_WHITE,string2); } if (PlayerInfo[playerid][pHelper] > 0) { format(string2, sizeof(string2), "* You are logged in as a Level %d Helper.",PlayerInfo[playerid][pHelper]); SendClientMessage(playerid, COLOR_WHITE,string2); } SetSpawnInfo(playerid, PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1); if(gTeam[playerid] == 0) { gTeam[playerid] = 3; } else { gTeam[playerid] = PlayerInfo[playerid][pTeam]; } gPlayerLogged[playerid] = 1; SpawnPlayer(playerid); format(tmp2, sizeof(tmp2), "~w~Welcome ~n~~r~~h~ %s", playername2); DateProp(playerid); GameTextForPlayer(playerid, tmp2, 300, 1); SendClientMessage(playerid, COLOR_YELLOW, motd); if(PlayerInfo[playerid][pFMember] < 255) { format(tmp2, sizeof(tmp2), "Family MOTD: %s.", FamilyInfo[PlayerInfo[playerid][pFMember]][FamilyMOTD]); SendClientMessage(playerid, COLOR_YELLOW, tmp2); } } return 1; } stock ini_GetKey( line[] ) { new keyRes[256]; keyRes[0] = 0; if ( strfind( line , "=" , true ) == -1 ) return keyRes; strmid( keyRes , line , 0 , strfind( line , "=" , true ) , sizeof( keyRes) ); return keyRes; } stock IsVehicleOccupied(vehicleid) { for(new i=0;i<MAX_PLAYERS;i++) { if(IsPlayerInVehicle(i,vehicleid)) return 1; } return 0; } stock ini_GetValue( line[] ) { new valRes[256]; valRes[0]=0; if ( strfind( line , "=" , true ) == -1 ) return valRes; strmid( valRes , line , strfind( line , "=" , true )+1 , strlen( line ) , sizeof( valRes ) ); return valRes; }[/pawn]
-
[pawn]C:\Users\Cbu-Samp\Desktop\BestLife\gamemodes\edit.pwn(10114) : error 021: symbol already defined: "strtok" C:\Users\Cbu-Samp\Desktop\BestLife\gamemodes\edit.pwn(10129) : error 047: array sizes do not match, or destination array is too small C:\Users\Cbu-Samp\Desktop\BestLife\gamemodes\edit.pwn(14127) : warning 219: local variable "mod" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. [/pawn] 10114 [pawn]{[/pawn] 10129 [pawn] return result;[/pawn] 14127 [pawn]new mod = 100;[/pawn] Aste Imi zice Daca bag aCCest Junkbuster JunkBuster = numa lasa sa il pun... prea multe caractere :|. http://www.2shared.com/file/FStSz7d2/JunkBuster.html Cum Fac SA scot accest junkbuster DETOT daca nu este rezolvare?
-
UPPPPP Nimeni? EDIT 2/12/11 UPPPPPPPP NIMENI 22:32