public plugin_init()
{
register_logevent("round_start", 2, "1=Round_Start");
register_logevent("round_end", 2, "1=Round_End");
}
public round_start()
{
set_task(WAIT, "strip");
for(new id=1; id<33 ; id++)if(is_user_connected(id))
{
dostaje_awp = 1
dostaje_m4 = 1
dostaje_ak = 1
dostaje_m3 = 1
}
}
public round_end()
{
for(new id=1; id<33; id++)if(is_user_connected(id))
{
dostaje_awp = 0
dostaje_m4 = 0
dostaje_ak = 0
dostaje_m3 = 0
}
}W tym kodzie chodzi mi o - ZK. Losuje AWP w rundzie numer 1, nie ginie w niej, runda numer 2 Z. juz nie ma AWP ( Czyli reset broni taki ), Kod sie kompiluje ale Serwer dostaje crasha gdy runda startuje2 Problem polega z
set_user_maxspeed(id, get_user_maxspeed(id) + 100))Gdy zmienimy bron nie chodzimy juz szybko lub stoimy ciagle w miesjcu.
I jeszcze chcialbym zapytac jak dac jedno AWP na Caly team TT i CT..
14 sierpień 2010 - 18:12:
Czekam na pomoc. Potrzebne mi to od teraz. Ew Moge sie dogadac z kims na GG i nie ebdzie to pomoc za darmo


Dodatki SourceMod



Temat jest zamknięty









