Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
-[ MawiLarq ]- -
--------------------------------------------------------
Altaki Kodlar Pluginde Hangi Yazının Hangi Harfe Denk Geldini Gostern Yazılardır ..
a - ADMIN_IMMUNITY
b - ADMIN_RESERVATION
c - ADMIN_KICK
d - ADMIN_BAN
e - ADMIN_SLAY
f - ADMIN_MAP
g - ADMIN_CVAR
h - ADMIN_CFG
i - ADMIN_CHAT
j - ADMIN_VOTE
k - ADMIN_PASSWORD
l - ADMIN_RCON
m - ADMIN_LEVEL_A
n - ADMIN_LEVEL_B
o - ADMIN_LEVEL_C
p - ADMIN_LEVEL_D
q - ADMIN_LEVEL_E
r - ADMIN_LEVEL_F
s - ADMIN_LEVEL_G
t - ADMIN_LEVEL_H
u - ADMIN_MENU
z - ADMIN_USER
*******************************************************************************************************************************]
Menu Renklerı Nasil Deyisir ;
y -> Sarı
r -> Red
w -> Beyaz
d -> Saydam
*******************************************************************************************************************************]
ColorChat Renkleri :
!t Team Rengi ( T - DE KIRMIZI - CT ' DE MAVI ]
!n Normal Sarı Gibi
!g Yesil
renkli_yazi(0,"!t[!g KLAN TAGI !t] !t YAZI .")
renkli_yazi(0," Yandaki 0 Olursa Herkez Bu Yaziyi Gorur
renkli_yazi(id," Yandaki id Olursa Sadece Bu Secenege Basan Gorur !
}
stock renkli_yazi(const id, const input[], any:...)
{
new count = 1, players[32];
static msg[191];
vformat(msg, 190, input, 3);
replace_all(msg, 190, "!n", "^x01");
replace_all(msg, 190, "!g", "^x04");
replace_all(msg, 190, "!t", "^x03");
if (id) players[0] = id; else get_players(players, count, "ch");
{
for (new i = 0; i < count; i++)
{
if (is_user_connected(players))
{
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players);
write_byte(players);
write_string(msg);
message_end();
}
}
}
}
*******************************************************************************************************************************]
Nasil Bir Pluginin Sadece JB Mapında Acılmasını Saglarım ?
İlk Olarak
En Yukardaki Autor yazısın altına Sunu kopyala
new map[32]
Sonra Say Komutlarının Tam ustune 1 bosuk bırakıp bu altakı kodu yapıstır ve JB Ozel Olmus Olsun !
get_mapname(map,31);
if((containi(map,"jail") == -1) && (containi(map,"jb_") == -1)) return
*******************************************************************************************************************************]
/jbmenu Jbmenu Yazınca Nası Nereye Yoneldnırırm Diye Merak etme burda var mk
register_clcmd("say /revmenu","kontrol") ' Kontrol Yazan Yer Publicdir
/revmenu Yazan Yerde Saydan Ne Yazınca Hangı Publıce Yoneldırcegıdır ... .
Public Nedir Dersen
Her Menunun basında Bulunur Ornek
}
public kontrol(id)
{
Say Komutana Yonlendırrken Yanındakı (id) ' Yazısınızı Yazmaman Lazım !
(id) ' ı
Menudekı Seceneklerden bi yere yonelndırırken Yazabilirsin
*******************************************************************************************************************************]
Normal Bir Menude Olması Gereken İncludeler
Yani En Ustekiler
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <hamsandwich>
#include <cstrike>
*******************************************************************************************************************************]
Menudeki CT Ozel Kodu : if(get_user_team(id) == 2)
Menudeki T Ozel Kodu : if(get_user_team(id) == 1)
*******************************************************************************************************************************]
Bir Secenegi Admine Ozel Yapmak Istediniz .
O Menuye Yonlendırerken Zorunlu Yazması Gereken Yani
register_clcmd("say_team /revmenu","revivemenu")
Burdaki Yerden En sondakı " SU ARAYA ) ' HARF YETKISINI YAZIN Basına , Koymayı Unutma !
Yazınca Soyle Olucaktır Ornektir ; register_clcmd("say_team /revmenu","revivemenu",ADMIN_MAP) ' , 'e Dikkat ! ! !
*******************************************************************************************************************************]
Ornek Ben Admine Ozel yapıcam + Bi Takıma Ozel DIorsanızda Bu Sekılde Olabılır rev(id) Publicini deyısdıırp Yonlendırmek Istediniz
Menunun Publıcını koyabılrısınız .
}
public kontrol(id)
{
if(get_user_team(id) == 2)
{
rev(id)
}
else if(get_user_flags(id) & ADMIN_LEVEL_B)
{
rev(id)
}
return PLUGIN_HANDLED
*******************************************************************************************************************************]
Nasıl Case Olusturum ??
case Her Menunun Altında Tam SU Noktada Durur Ornek ;
}
public VipMenux(id)
{
static Item[64]
formatex(Item, charsmax(Item),"wFIYATLAR")
new Menu = menu_create(Item, "vipmenu_gir")
formatex(Item, charsmax(Item),"yICERIK ISMI")
menu_additem(Menu, Item, "1",ADMIN_IMMUNITY)
menu_setprop(Menu, MPROP_EXIT, MEXIT_ALL)
menu_display(id, Menu,0)
return PLUGIN_HANDLED;
}
public vipmenu_gir(id, menu, item)
{
if( item == MENU_EXIT )
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}
new acces, callback, data[6], iname[64]
menu_item_getinfo(menu, item, acces, data, 5, iname, 63,callback)
new key = str_to_num(data);
switch(key)
{
case 1:
{
console_cmd(id,"say /admina")
}
case 2:
{
console_cmd(id,"say /slot")
return PLUGIN_HANDLED
}
}
menu_destroy(menu)
return PLUGIN_HANDLED
console_cmd(id,"say /admina")
Bu Kodlar Menuden Dırek oyundan bi yazı yazdırır
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team