Jak jestem poza respem, a ma admin level B, to leci dalej, a jak jestem poza respem to nic sie nie robi?
Ja tak to widze:
If admin_level_b{
return plugin_continue
}else if (!g_bresp || !admin_level_b ){
return plugin_handle
}
client_print(id, print_center, "Masz dostepne opcje dla admina z flaga n, niedostepne na respie")
Zadziala takie cos?
Czy wystarczy tak:
If admin_level_b{
return plugin_continue
}else if (!g_bresp){
return plugin_handle
}
?
Czytalem troche o petlach, ale srednio rozumiem, wiec sie pytam czy tak to dziala mniejwiecejze jestem adminem, i poza respe mi to wyswietla, a jak jestem normalnym userem to na respie mi wyswietla, ale poza respem juz nie??
Użytkownik Itachi edytował ten post 25.06.2012 11:44


 Forum
 
Forum
 Użytkownicy
 
Użytkownicy
 Kalendarz
 
Kalendarz
 Dodatki SourceMod
 
Dodatki SourceMod



 
	 Temat jest zamknięty
 Temat jest zamknięty![[ROZWIĄZANE] Warukni IF - Filozofia ...: post #1](https://amxx.pl/public/style_images/tctc91_luminous/icon_share.png) 
					

 
			
 
				
				










