| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 153 online users. » 0 Member(s) | 149 Guest(s) Applebot, Bing, Yandex, Google
|
| Latest Threads |
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
2026-03-22, 12:55 PM
» Replies: 13
» Views: 2,775
|
Pawno compiler (pawncc.ex...
Forum: Support
Last Post: PutuSuhartawan
2026-03-20, 11:12 PM
» Replies: 0
» Views: 105
|
[0.3.7 & 0.3.DL] Los Sant...
Forum: Advertisements
Last Post: renza1st
2026-03-16, 05:58 AM
» Replies: 0
» Views: 90
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2026-03-13, 11:17 AM
» Replies: 0
» Views: 87
|
Atlanta DeathMatch/Team D...
Forum: Advertisements
Last Post: NixaSha
2026-03-10, 04:57 AM
» Replies: 1
» Views: 118
|
mysql_samp
Forum: Plugins
Last Post: NullSablex
2026-03-10, 03:33 AM
» Replies: 0
» Views: 162
|
backtrace
Forum: Questions and Suggestions
Last Post: Lyvex
2026-03-09, 06:32 AM
» Replies: 0
» Views: 113
|
Open Multiplayer ✅ loggin...
Forum: Pawn Scripting
Last Post: walid_dz
2026-03-05, 04:19 AM
» Replies: 0
» Views: 267
|
Argonath RPG SA:MP Reviva...
Forum: Advertisements
Last Post: Melon_Sam
2026-03-03, 06:37 PM
» Replies: 1
» Views: 224
|
RevolutionX Since (2008) ...
Forum: Advertisements
Last Post: DerekZ905
2026-03-02, 02:46 PM
» Replies: 0
» Views: 135
|
|
|
| Вопросик) |
|
Posted by: ApostolDMITRY - 2019-06-06, 06:05 PM - Forum: Russian/Русский
- Replies (3)
|
 |
Вот интересно узнать, на счет модов, скриптов и помощи с модами и тд. Обязательно писать в раздел Pawn Scripting, по вопросам скриптинг? Я, конечно, английский понимаю все дела, но все же в многих моментах мне проще понять Русского скриптера, потому что он более понятно все растолкует и тд.
|
|
|
|
| Ban system by Hardware ID/Serial |
|
Posted by: Maik - 2019-06-06, 03:47 PM - Forum: Questions and Suggestions
- Replies (31)
|
 |
Ban system by Serial same as MTA (or similiar)
When i had a SAMP server Dayz, i was tired of many times had problems with cheaters and toxic players that comeback to the server everytime.
You ban a player or a toxic player, and a few minutes later, the same player comeback with a different nickname just to annoying and disturb. When i had my server on MTA (2012/2013) i never had that problem. Once the player was banned, he couldn't come back again, even reseting the IP or formatting the PC.
He has really banned from the server.
I hope that you have a system like that, its something that is missing on the other plataform, but could really help people with a server. (Including Dayz, where the number of cheaters is a lot)
|
|
|
|
| [MAP] Condominium |
|
Posted by: ronfino - 2019-06-06, 04:59 AM - Forum: Filterscripts
- Replies (7)
|
 |
first time i release a map, tell me what you think
Coords: 2210.61, 1866.45, -68.63
Code: //Map Exported with Texture Studio By: [uL]Pottus////////////////////////////////////////////////////////////////
//////////////////////////////////////////////and Crayder////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//Map Information////////////////////////////////////////////////////////////////////////////////////////////////
/*
Exported on "2019-06-06 06:33:19" by "ronfino"
Created by "ronfino"
*/
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//Objects////////////////////////////////////////////////////////////////////////////////////////////////////////
new tmpobjid;
tmpobjid = CreateDynamicObject(19377, 2214.208740, 1862.148071, -69.721466, 0.000000, -90.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 3980, "cityhall_lan", "man_cellarfloor128", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2208.884033, 1862.148071, -67.895538, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2212.416259, 1865.659790, -67.895538, 0.000000, 0.000007, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2213.775390, 1857.247802, -67.895538, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2217.144531, 1860.758911, -67.895538, -0.000007, 0.000000, -89.999977, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2217.144531, 1859.027832, -67.895538, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2213.794921, 1863.898071, -67.895538, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19377, 2211.875244, 1854.147094, -62.558506, 0.000000, -89.999992, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 3980, "cityhall_lan", "man_cellarfloor128", 0x00000000);
tmpobjid = CreateDynamicObject(1522, 2209.895263, 1866.904541, -69.635528, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 3820, "boxhses_sfsx", "ws_wood_doors2", 0x00000000);
tmpobjid = CreateDynamicObject(14409, 2215.305419, 1856.916870, -69.325469, 0.000007, -0.000000, 89.999977, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 1, 5133, "coast_las2", "greyground256sand", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2213.775390, 1866.939697, -67.895538, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19377, 2222.375976, 1854.147094, -66.228424, 0.000000, -89.999992, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 3980, "cityhall_lan", "man_cellarfloor128", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2215.296142, 1857.247802, -64.395599, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2218.115478, 1859.027832, -64.395599, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19377, 2208.453857, 1862.148071, -66.057525, 0.000000, -90.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 7555, "bballcpark1", "backstageceiling1_128", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2220.024414, 1852.341430, -64.389511, -0.000000, -0.000007, -179.999954, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2223.006591, 1854.133178, -64.389511, -0.000000, -0.000007, -179.999954, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19377, 2222.375976, 1844.514038, -66.228424, 0.000000, -89.999992, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 3980, "cityhall_lan", "man_cellarfloor128", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2220.024414, 1842.707641, -64.389511, -0.000000, -0.000015, -179.999908, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2223.006591, 1844.498413, -64.389511, -0.000000, -0.000015, -179.999908, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2223.006591, 1839.678955, -64.389511, -0.000007, -0.000007, -89.999916, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19455, 2213.616210, 1857.247802, -64.395599, 0.000000, 0.000000, -180.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "sl_vicbrikwall01", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2222.927978, 1855.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19377, 2222.375976, 1854.147094, -62.558506, 0.000000, -89.999992, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 7555, "bballcpark1", "backstageceiling1_128", 0x00000000);
tmpobjid = CreateDynamicObject(19377, 2222.375976, 1844.514038, -62.558506, 0.000000, -89.999992, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 7555, "bballcpark1", "backstageceiling1_128", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2220.106445, 1855.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2222.927978, 1852.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2220.106445, 1852.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2222.927978, 1849.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2220.106445, 1849.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2222.927978, 1846.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2220.106445, 1846.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2222.927978, 1843.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2220.106445, 1843.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19860, 2213.728515, 1860.643066, -68.395614, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 16093, "a51_ext", "des_backdoor1", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2222.258056, 1839.757568, -64.902595, 0.000000, 0.000000, -180.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19858, 2222.927978, 1858.107910, -64.902595, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 6056, "venice_law", "newlawdoor", 0x00000000);
tmpobjid = CreateDynamicObject(19921, 2211.830566, 1861.536254, -69.535499, 0.000000, 0.000000, -79.699943, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 1259, "billbrd", "bluemetal02", 0x00000000);
tmpobjid = CreateDynamicObject(2076, 2210.746826, 1863.152099, -66.245376, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?
SetDynamicObjectMaterial(tmpobjid, 0, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 1, 1408, "break_fence1", "compfence2_LAe", 0x00000000);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
tmpobjid = CreateDynamicObject(2007, 2209.014648, 1858.661621, -68.895484, 0.000000, 0.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(2007, 2209.014648, 1859.642456, -68.895484, 0.000000, 0.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(1778, 2212.187744, 1861.077026, -69.635528, 0.000000, 0.000000, -34.700000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(2852, 2222.437011, 1858.462524, -66.142486, 0.000000, 0.000000, -22.000003, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(19826, 2212.331542, 1862.847290, -68.275505, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(1620, 2212.316162, 1864.909545, -66.875595, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(1620, 2221.460693, 1852.968750, -62.652557, 0.000000, -90.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(1620, 2221.460693, 1848.968750, -62.652557, 0.000000, -90.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(1620, 2221.460693, 1844.968750, -62.652557, 0.000000, -90.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(2961, 2221.174316, 1858.941528, -64.702491, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(3027, 2220.629394, 1850.110107, -66.132484, 0.000000, -90.000000, 29.100000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(2372, 2212.533935, 1856.379760, -68.017120, 30.000000, -90.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(2372, 2214.371826, 1856.379760, -66.957069, 30.000000, -90.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(1624, 2208.507568, 1863.210815, -67.945480, 0.000000, 0.000000, -180.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(927, 2208.960693, 1864.419189, -67.385719, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(1630, 2208.973632, 1865.527832, -68.975624, 0.000000, 0.000000, -180.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(938, 2221.461669, 1855.633300, -62.792575, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(938, 2221.461669, 1850.853515, -62.792575, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(938, 2221.461669, 1846.853515, -62.792575, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(938, 2221.461669, 1842.853515, -62.792575, 0.000000, 0.000000, -90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(1265, 2220.584716, 1852.724487, -65.702484, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(2674, 2222.299316, 1849.615478, -66.132484, 0.000000, 0.000000, 54.400028, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(2671, 2221.473144, 1843.005981, -66.142486, 0.000000, 0.000000, 87.800018, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(2673, 2210.171142, 1857.558471, -69.545509, 0.000000, 0.000000, 148.299987, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(2653, 2215.324218, 1860.157470, -63.302543, 0.000000, -180.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(2649, 2213.761718, 1858.149658, -63.792499, 0.000000, 0.000000, -180.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(2244, 2212.089111, 1864.227050, -69.365470, 0.000000, 0.000000, 0.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(1731, 2215.292480, 1858.779418, -65.258430, 0.000000, 0.000000, 90.000000, -1, -1, -1, 800.00, 800.00);?
tmpobjid = CreateDynamicObject(1735, 2209.480712, 1861.371459, -69.635528, 0.000000, 0.000000, 99.700050, -1, -1, -1, 800.00, 800.00);?
|
|
|
|
| Open Game Panel - Problem |
|
Posted by: Sean17 - 2019-06-06, 03:48 AM - Forum: Support
- Replies (3)
|
 |
IDK if this is the right board for this but sorry in advance
So I was hosting my Att/Def GM in Ultra-H and it's working well. When I transfer all my files to OGP the server crash always. I tried using the default grandlarc and it showed this
Code: Unable to start server on port: 7780. Port in use?
I don't know how to fix this. I tried changing the port in Server Config but after restart the port will go back to 7780.
BTW The error on the Att/Def Gamemode is this
Code: [16:32:50] [debug] Server crashed due to an unknown error
[16:32:50] [debug] Native backtrace:
[16:32:50] [debug] #0 f21a7180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[16:32:50] [debug] #1 f219f064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[16:32:50] [debug] #2 f219fd64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[16:32:50] [debug] #3 f21a1cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[16:32:50] [debug] #4 f21a64d5 in ?? () from plugins/crashdetect.so
[16:32:50] [debug] #5 f25bd410 in ?? ()
[16:32:50] [debug] #6 080a1145 in ?? () from ./samp03svr
[16:32:50] [debug] #7 080ab601 in ?? () from ./samp03svr
[16:32:50] [debug] #8 080aba0b in ?? () from ./samp03svr
[16:32:50] [debug] #9 080aa0fd in ?? () from ./samp03svr
[16:32:50] [debug] #10 f21e7637 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
[16:32:50] [debug] #11 0804b4e1 in ?? () from ./samp03svr
[16:32:50] [debug] Registers:
[16:32:50] [debug] EAX: 0000001b EBX: 0ad665f8 ECX: 7fffffe8 EDX: 00000000
[16:32:50] [debug] ESI: 00000000 EDI: 00000000 EBP: fdc9b308 ESP: fdc9b1d0
[16:32:50] [debug] EIP: 080a1145 EFLAGS: 00010246
[16:32:50] [debug] Stack:
[16:32:50] [debug] ESP퍍㓓䴴: fdc9b1f0 081594f5 0ad665f8 f22ae13b
|
|
|
|
Looking for scripters/helpers/mappers? post here! |
|
Posted by: iLearner - 2019-06-05, 05:13 AM - Forum: General Discussions
- Replies (13)
|
 |
Hello!
if you're in need of scripters, mappers, helpers or even administrators for your server, you may post in this thread. you may also post here if you're offering?scripting / mapping services.
before posting please make sure you read the following rules to keep everything civil.
- You must wait 24 hours before bumping your post.?
- do not double post! use edit instead.
- do not post troll posts, only post if you're really looking for whatever you say you're looking for.?
- leave your contact information within your post and continue the discussion in private, this is not a discussion thread.
- do not post here just to waste someone's time, post only if you're serious.
I've stated above the common rules I could think of, if any Moderator wishes to edit the thread and add/remove any of those, they're welcome.
|
|
|
|
| y_hooks 4 - Hook callbacks, functions, and natives. |
|
Posted by: Y_Less - 2019-06-02, 09:14 PM - Forum: Libraries
- Replies (9)
|
 |
Introduction
After some discussion recently, I have finally gotten around to updating y_hooks. You can now hook callbacks (publics), functions (your own code), and natives! The full documentation is on github:
https://github.com/pawn-lang/YSI-Includes/tree/5.x
But in short, there are three types of hooks: original, callback, and function.
Original
Originals are still the fastest (faster even than a normal function call) and simplest, but can only hook publics:
PHP Code: #include <YSI_Coding\y_hooks>
hook OnPlayerConnect(playerid)
{
SendClientMessage(playerid, COLOUR_GREETING, "Welcome!");
}
The system will call each hook of a public in the order they are declared. When one ends the next starts. There is a way to stop the chain entirely, such that no more hooks are called, but this is all the control given. These can hook callbacks that don't even exist, you don't need `public OnPlayerConnect` anywhere in code for this example to work.
Function
A function hook hooks a function - i.e. something called within the script. This includes pawn functions and natives:
PHP Code: #include <YSI_Coding\y_hooks>
hook function SetPlayerPos(playerid, Float:x, Float:y, Float:z)
{
return continue(playerid, x, y, z 0.1);
}
Every time `SetPlayerPos` is used in the script, this hook will be called first. `continue` is an explicit call to the next function in the chain - this may be another hook or the original code (a native in this case).
Callback
A callback hook combines the hooking of callbacks from original hooks with the explicit chaining of function hooks:
PHP Code: #include <YSI_Coding\y_hooks>
hook callback OnPlayerConnect(playerid)
{
SendClientMessage(playerid, COLOUR_GREETING, "Welcome!");
return continue(playerid);
}
Note that I haven't ACTUALLY written this last one 1yet.
|
|
|
|
|