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.

max9z

Accustomed
  • Joined

  • Last visited

Everything posted by max9z

  1. testé sur mn serv aucun changement a faire
  2. je test , je me demande si sa marche aussi a vec les carte pci tnt
  3. pour l exemple si je veu passer ce pluggin pour CS:GO je dois changer quoi ? /* * QuickDefuse - by pRED* * * CT's get a menu to select a wire to cut when they defuse the bomb * - Choose the right wire - Instant Defuse * - Choose the wrong wire - Instant Explosion * * T's also get the option to select the correct wire, otherwise it's random * * Ignoring the menu's or selecting exit will let the game continue normally * */ #include <sourcemod> #include <sdktools> #define PLUGIN_VERSION "0.3" new wire new Handle:cvar_tchoice new String:wirecolours[4][] = {"Blue","Yellow","Red","Green"} public Plugin:myinfo = { name = "QuickDefuse", author = "pRED*", description = "Let's CT's choose a wire for quick defusion", version = PLUGIN_VERSION, url = "http://www.sourcemod.net/" }; public OnPluginStart() { CreateConVar("sm_quickdefuse_version", PLUGIN_VERSION, "Quick Defuse Version", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY) HookEvent("bomb_begindefuse", Event_Defuse, EventHookMode_Post) HookEvent("bomb_beginplant", Event_Plant, EventHookMode_Post) HookEvent("bomb_planted", Event_Planted, EventHookMode_PostNoCopy) HookEvent("bomb_abortdefuse", Event_Abort, EventHookMode_Post) HookEvent("bomb_abortplant", Event_Abort, EventHookMode_Post) cvar_tchoice = CreateConVar("qd_tchoice", "1", "Sets whether Terrorists can select a wire colour (QuickDefuse)") } public Event_Plant(Handle:event, const String:name[], bool:dontBroadcast) { new clientId = GetEventInt(event, "userid") new client = GetClientOfUserId(clientId) wire = 0; //let the planter choose a wire if (GetConVarInt(cvar_tchoice)) { new Handle:panel = CreatePanel() SetPanelTitle(panel, "Choose a Wire:" ) DrawPanelText(panel, " ") DrawPanelText(panel, "The CT's can try guess this for an instant defuse") DrawPanelText(panel, "Exit, or ignore this for a random wire") DrawPanelText(panel, " ") DrawPanelItem(panel,wirecolours[0]) DrawPanelItem(panel,wirecolours[1]) DrawPanelItem(panel,wirecolours[2]) DrawPanelItem(panel,wirecolours[3]) DrawPanelText(panel, " "); DrawPanelItem(panel, "Exit") SendPanelToClient(panel, client, PanelPlant, 5) CloseHandle(panel) } } public Event_Planted(Handle:event, const String:name[], bool:dontBroadcast) { if (wire == 0) wire = GetRandomInt(1,4) } public Event_Defuse(Handle:event, const String:name[], bool:dontBroadcast) { new clientId = GetEventInt(event, "userid") new client = GetClientOfUserId(clientId) new bool:kit = GetEventBool(event, "haskit") //show a menu to the client offering a choice to pull/cut the wire new Handle:panel = CreatePanel() SetPanelTitle(panel, "Choose a Wire:" ) DrawPanelText(panel, "Ignore this to defuse normally") DrawPanelText(panel, " ") DrawPanelText(panel, "Get it right and the bomb is defused") DrawPanelText(panel, "Get it wrong and the bomb instantly explodes") if (!kit) { DrawPanelText(panel, "With no defuse kit you have a 50% chance of the bomb exploding") DrawPanelText(panel, "even if you choose the right wire") } DrawPanelText(panel, " ") DrawPanelItem(panel,"Blue") DrawPanelItem(panel,"Yellow") DrawPanelItem(panel,"Red") DrawPanelItem(panel,"Green") DrawPanelText(panel, " "); DrawPanelItem(panel, "Exit") if (kit) SendPanelToClient(panel, client, PanelDefuseKit, 5) else SendPanelToClient(panel, client, PanelNoKit, 5) CloseHandle(panel) } public PanelPlant(Handle:menu, MenuAction:action, param1, param2) { if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour { wire = param2 PrintToChat(param1,"\x01\x04[QuickDefuse] You chose the %s wire",wirecolours[param2-1]) } } public PanelDefuseKit(Handle:menu, MenuAction:action, param1, param2) { if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour { new bombent = FindEntityByClassname(-1,"planted_c4") if (bombent) { new String:name[32] GetClientName(param1,name,sizeof(name)) if (param2 == wire) { SetEntPropFloat(bombent, Prop_Send, "m_flDefuseCountDown", 1.0) PrintToChatAll("\x01\x04[QuickDefuse] %s correctly cut the %s wire for an instant C4 defusal (1:4 odds)",name,wirecolours[param2-1]) } else { SetEntPropFloat(bombent, Prop_Send, "m_flC4Blow", 1.0) PrintToChatAll("\x01\x04[QuickDefuse] %s detonated the C4 with an incorrect wire choice of %s (3:4 odds) The correct wire was %s",name,wirecolours[param2-1],wirecolours[wire-1]) } } } } public PanelNoKit(Handle:menu, MenuAction:action, param1, param2) { if (action == MenuAction_Select && param2 > 0 && param2 < 5) //User selected a valid wire colour { new bombent = FindEntityByClassname(-1,"planted_c4") if (bombent) { new String:name[32] GetClientName(param1,name,sizeof(name)) if (param2 == wire && GetRandomInt(0,1)) { SetEntPropFloat(bombent, Prop_Send, "m_flDefuseCountDown", 1.0) PrintToChatAll("\x01\x04[QuickDefuse] %s correctly pulled the %s wire for an instant C4 defusal (1:8 odds)",name,wirecolours[param2-1]) } else { SetEntPropFloat(bombent, Prop_Send, "m_flC4Blow", 1.0) if (param2 != wire) PrintToChatAll("\x01\x04[QuickDefuse] %s detonated the C4 with an incorrect wire choice of %s (7:8 odds) The correct wire was %s",name,wirecolours[param2-1],wirecolours[wire-1]) else PrintToChatAll("\x01\x04[QuickDefuse] %s chose the correct wire (%s) but the C4 still detonated!",name,wirecolours[param2-1]) } } } } public Event_Abort(Handle:event, const String:name[], bool:dontBroadcast) { new clientId = GetEventInt(event, "userid") new client = GetClientOfUserId(clientId) CancelClientMenu(client) }
  4. quelqu un pourais repondre a la premiere patie de ma question :
  5. merci Kriax
  6. ils restent vague
  7. sur le site sourcemod ya genre des milliard de page ,qui expliquent mais j ai pas l impression que sa soit trop concret , tu trouve pas une personne qui montre comment il fai son pluggin de A a Z
  8. mais si ! si tu avais regardé la video ! + le fichier de config que je t ai passé
  9. ou pour amelorer la meuf devant
  10. meme pas besoin , aller dans outil dans steam et telecharger alienswarm sdk et alien swarm tous ces jeux son gratuit et suivez ce tuto j ai aussi un lien pour le fgd pour les perso etc http://www.mediafire.com/?pabs2haymkeimb3
  11. j aimerai apprendre merci =) cherche un bon tuto qui expliqu concretement et en francais de preference =)
  12. gt 8600 et je fait tourner au tous en élevé AAx4 et l autre en x2 je tien a dire que les filtre qsaa x16 ne marchent pas pour moi
  13. au pire je t envoi les fichier texture et tu les adaptent sur ton source sdk normal mais comme c est en precomande ... tu aura la beta le 14
  14. il faudra aussi un wallhack =)
  15. bonjours ! En ce moment je me pose quelque question sur global offencive : Ou peu t on trouver des pluggins pour un serveur ?a part le deathmatch il n y a pas grand chose . c est moi qui cherche mal ou aucu pluggin n est devellopé? En attendant le 21 aout comment mapper ? Une personne sur dailymotion explique comment en utilisant alien swarm sdk ya pas mieu ? merci de votre écoute
  16. je vais test merci de ta reponse

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.