Jump to content
View in the app

A better way to browse. Learn more.

Forum Supreme-Elite

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Bonjour, je suis en train d'apprendre le sourcepawn, je débute et j'ai beaucoup de mal malgrès ma connaissance avancé en langage C

donc voilà j'aimerais savoir quoi utilisé (cvar, commande, etc) pour finir mon plugin skin, qui permettrais de mettre un skin au client "normal" et un autre skin au client admin en début de map et par la suite créer un panel pour choisir différent skin (mais ca après lol)

voici ce que j'ai commencé :

# Include <sourcemod>
#include <sdktools>
new Handle:sm_skin = INVALID_HANDLE
new Handle:sm_skin_admin = INVALID_HANDLE
public Plugin: myinfo =
{
name = "Mon premier plugin" ,
author = "Dertione" ,
description = "panel pour choisir son skin» ,
version = "0.1" ,
url = ""
} ;

public OnPluginStart()
{
g_client = CreateConVar("sm_skin","1");
g_admin = CreateConVar("sm_skin","1");

RegConsoleCmd("sm_models", Command_Model);
}

donc après je ne sais pas trop quoi mettre dans "public OnMapstart"

Merci d'avance ^^ !

Cordialement, dertione.

Aide toi d'un qui est déjà existant :)
  • Author
ouais mais si je comprend rien, sa sert un peu a rien ^^
En même temps c'est en décortiquant des scripts existants et commentés que tu comprendras le mieux. Puis en allant visiter les docs/api/wiki/forum/...
  • Author
Ouais j'ai commencé a aller sur le site sourcemod et tout, donc je vais prendre exemple sur un plugin existant alors ^^, merci de votre aide.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.