{"id":1601,"date":"2026-01-09T23:15:52","date_gmt":"2026-01-09T22:15:52","guid":{"rendered":"http:\/\/shabazz.fr\/?page_id=1601"},"modified":"2026-09-04T23:41:32","modified_gmt":"2026-09-04T21:41:32","slug":"cs-source","status":"publish","type":"page","link":"http:\/\/shabazz.fr\/?page_id=1601","title":{"rendered":"CS SOURCE: Les Plugins"},"content":{"rendered":"\n<p class=\"has-large-font-size wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-27ec20c07c7a272760d839982c2e15bc wp-block-paragraph\"><strong>Les Plugins<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Les fichiers .sp (SourcePawn) sont les fichiers de code source des plugins Sourcemod (.smx)<br>Ce sont ces fichiers que nous \u00e9ditons pour cr\u00e9er des Plugins. Puis on les compile avec spcomp.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ils deviennent alors des .smx apr\u00e8s compilation. Ce sont ces fichiers que le serveur est capable de lire.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SPCOMP est un ex\u00e9cutable contenu dans le package Sourcemod<br><a href=\"https:\/\/mega.nz\/file\/o1knFKKQ#2S_RgJjRouwk3Q-ZBOotruIFYTe6ME7xWe7BQXsvKhQ\" target=\"_blank\" rel=\"noreferrer noopener\">Sourcemod pour Linux<\/a><br><a href=\"https:\/\/mega.nz\/file\/4hEWWJIL#kjTxThDy4QoLo3bEQPIIzICMRn68gZDFgayOAZDwx3Y\" target=\"_blank\" rel=\"noreferrer noopener\">Sourcemod pour Windows<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Compiler un Fichier .sp<\/strong><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#FFFFFF\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>\\\\Sous Windows\n\ncd C:\\sourcemod_compile\\scripting\nspcomp.exe plugin_match_css.sp\n\n\\\\Sous Linux\n\n.\/spcomp plugin_match_css.sp<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #000000\">\\\\<\/span><span style=\"color: #001080\">Sous<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">Windows<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #001080\">cd<\/span><span style=\"color: #000000\"> C:\\<\/span><span style=\"color: #001080\">sourcemod_compile<\/span><span style=\"color: #000000\">\\<\/span><span style=\"color: #001080\">scripting<\/span><\/span>\n<span class=\"line\"><span style=\"color: #001080\">spcomp<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">exe<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">plugin_match_css<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">sp<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #000000\">\\\\<\/span><span style=\"color: #001080\">Sous<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">Linux<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #000000\">.\/<\/span><span style=\"color: #001080\">spcomp<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">plugin_match_css<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">sp<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Envoyer le fichier compil\u00e9 sur le server sous<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#FFFFFF\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>addons\/sourcemod\/plugins\/plugin_match_css.smx\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #001080\">addons<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #001080\">sourcemod<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #001080\">plugins<\/span><span style=\"color: #000000\">\/<\/span><span style=\"color: #001080\">plugin_match_css<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">smx<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Charger le plugin sur le serveur<\/strong><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#FFFFFF\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sm plugins load plugin_match_css\n\nsm plugins reload plugin_match_css\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #001080\">sm<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">plugins<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">load<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">plugin_match_css<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #001080\">sm<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">plugins<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">reload<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">plugin_match_css<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Afficher la liste des plugins<\/strong><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#FFFFFF\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sm plugins list<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #001080\">sm<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">plugins<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">list<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Les Plugins Les fichiers .sp (SourcePawn) sont les fichiers de code source des plugins Sourcemod (.smx)Ce sont ces fichiers que nous \u00e9ditons pour cr\u00e9er des Plugins. Puis on les compile avec spcomp. Ils deviennent alors des .smx apr\u00e8s compilation. Ce sont ces fichiers que le serveur est capable de lire. \u2026 <a class=\"continue-reading-link\" href=\"http:\/\/shabazz.fr\/?page_id=1601\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1601","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages\/1601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shabazz.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1601"}],"version-history":[{"count":5,"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages\/1601\/revisions"}],"predecessor-version":[{"id":1612,"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages\/1601\/revisions\/1612"}],"wp:attachment":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}