Page 1 of 1
client_print
Posted: 2011 Jun 10 22:18
by KamiN
Code: Select all
public cmdVmenu(id){ if(cs_get_user_team(id) == CS_TEAM_CT && get_user_flags(id) & ADMIN_JBVIP && !VipUsed[id]) { VipCTMenu(id); } else if(cs_get_user_team(id) == CS_TEAM_T && get_user_flags(id) & ADMIN_JBVIP && !VipUsed[id]) { VipTMenu(id); } else if(!is_user_alive(id) && get_user_flags(id) & ADMIN_JBVIP) { client_printc(id, "%s You have to be alive to use /VMENU", PREFIX); } else if(VipUsed[id]) { client_printc(id, "%s You Already used !gVIP Menu!n this round. Please wait till next round", PREFIX); } else { client_printc(id, "%s Only !gVIP!n may use the VIP Menu", PREFIX); return PLUGIN_HANDLED; } return PLUGIN_HANDLED;}
Kodel man neveikia sita vieta?
Code: Select all
else if(!is_user_alive(id) && get_user_flags(id) & ADMIN_JBVIP) { client_printc(id, "%s You have to be alive to use /VMENU", PREFIX); }
Mirusiam vipui turetu rasyt ta uzrasa, bet jma leidzia rasyti /vmenu ir tai parasius ismeta meniu pasirinkimus.
Re: client_print
Posted: 2011 Jun 10 22:29
by psychical
nesu tikras, bet pabandyk:
Code: Select all
else if(!is_user_alive(id) && (get_user_flags(id) & ADMIN_JBVIP))
Re: client_print
Posted: 2011 Jun 10 22:39
by KamiN
O eiliskumas neturi jokios itakos?
-- 2011 Bir 10 23:42 --
Spectators grupe nustatoma taip?
Code: Select all
cs_get_user_team(id) == CS_TEAM_SPECTATORS
Re: client_print
Posted: 2011 Jun 10 23:11
by psychical
BudaB wrote:O eiliskumas neturi jokios itakos?
-- 2011 Bir 10 23:42 --
Spectators grupe nustatoma taip?
Code: Select all
cs_get_user_team(id) == CS_TEAM_SPECTATORS
Eiliskumas jei tikrini vienu iffu, jokio skirtumu, jei tikrini keliais pirmiausia ar gyvas/negyvas ir t.t.
Taip, taip ji tikrinama, arba jei neklkstu bus:
arba
nzn tikslaii, bet tavo variantas irgi geras
Re: client_print
Posted: 2011 Jun 10 23:19
by KamiN
Viskas veikia, dekui.
Useful Product Info
Posted: 2024 Apr 12 01:24
by FrankJScott
Please try
Google before asking about
High Rated Product Website 3ddbf48