if (!UTIL_Buyforzloto(id,10))
return PLUGIN_HANDLED
new los = random_num(1,5)
new exp = random_num(200,500)
set_hudmessage(42, 255, 255, 0.42, 0.24, 0, 6.0, 12.0)
if(los == 1 ||los == 2){
Give_Xp(id,exp)
show_hudmessage(id, "Dostales %d expa !",exp)
bonus(id)
menu_destroy(menu)
}
if(los == 2 ||los == 3){
show_hudmessage(id, "nic nie wygrales)
bonus(id) ///////// to to nie wiem co to jest wiec nie usuwam
menu_destroy(menu)
}
if(los == 5){
Give_Xp(id,-exp)
show_hudmessage(id, "Straciles %d expa !",exp)
bonus(id)
menu_destroy(menu)
}
albo
if (!UTIL_Buyforzloto(id,10))
return PLUGIN_HANDLED
new los = random_num(1,5)
new exp = random_num(200,500)
set_hudmessage(42, 255, 255, 0.42, 0.24, 0, 6.0, 12.0)
if(los == 1 ||los == 2){
Give_Xp(id,exp)
show_hudmessage(id, "Dostales %d expa !",exp)
}
if(los == 2 ||los == 3){
show_hudmessage(id, "nic nie wygrales)
}
else if(los == 5){
Give_Xp(id,-exp)
show_hudmessage(id, "Straciles %d expa !",exp)
}
bonus(id)
menu_destroy(menu)
jesli chcesz jako czat
to można dać w colochat lub na print_center po środku
client_print(id,print_center,"Wylosowales %d expa!",exp)
Użytkownik Stachu123 edytował ten post 17.03.2011 23:33