Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
BindBedzie +
#1
Napisano 15.05.2010 08:25
#2
Napisano 15.05.2010 13:31
#3
Napisano 15.05.2010 20:27
#4
Napisano 15.05.2010 20:31
1 opcja
register_clcmd()
2 ( bardzo nie fajna opcja) opcja -
client_cmd()
#5
Napisano 15.05.2010 20:50
#6
Napisano 15.05.2010 20:55
register_clcmd("przebierz", "cmdPrzebierz");
public cmdPrzebierz(id){
if(!is_user_alive(id))
return PLUGIN_HANDLED;
//Sprawdz czy ma ten item/klasę
//Zamień model
return PLUGIN_HANDLED;
}
#7
Napisano 15.05.2010 21:06
new modele[]={"ct1","ct2","ct3","ct4","tt1","tt2","tt3","tt4"}
register_clcmd("przebierz", "cmdPrzebierz");
public cmdPrzebierz(id){
if(!is_user_alive(id))
return PLUGIN_HANDLED;
new los=random_num(0,3)
if (cs_get_user_team(id)==1) los+=4
cs_set_user_model(id,modele[los]
return PLUGIN_HANDLED;
}
Takie cos by poszlo??
#8
Napisano 15.05.2010 22:49
poprawka
if (cs_get_user_team(id)==CS_TEAM_CT
#9
Napisano 15.05.2010 22:54
new modele[]={"ct1","ct2","ct3","ct4","tt1","tt2","tt3","tt4"}
register_clcmd("przebierz", "cmdPrzebierz");
public cmdPrzebierz(id){
if(!is_user_alive(id) && player_class[id] = Druid)
return PLUGIN_HANDLED;
new los=random_num(0,3)
if (cs_get_user_team(id)==1) los+=4
cs_set_user_model(id,modele[los]
return PLUGIN_HANDLED;
}
Jeżeli się pomyliłem mógłbyś naprowadzić??
//EDIT
Jakos błędy mi wyskakuja ;/
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team Warning: Symbol is assigned a value that is never used: "lx" on line 4817 Warning: Tag mismatch on line 8442 Error: Expected token: ",", but found "return" on line 8443 1 Error. Could not locate output file C:\Documents and Settings\user\Pulpit\dbmod_5.9ll_pcl5.amx (compile failed).
15 maj 2010 - 23:31:
Reup
16 maj 2010 - 11:02:
Refresh
Użytkownik Monsulito edytował ten post 15.05.2010 23:09
#10
Napisano 16.05.2010 12:47
new modele[]={"ct1","ct2","ct3","ct4","tt1","tt2","tt3","tt4"}
register_clcmd("przebierz", "cmdPrzebierz");
public cmdPrzebierz(id){
if(!is_user_alive(id) || player_class[id] != Druid)
return PLUGIN_HANDLED;
new los=random_num(0,3)
if (cs_get_user_team(id)==CS_TEAM_CT) los+=4
cs_set_user_model(id,modele[los]
return PLUGIN_HANDLED;
}
#11
Napisano 16.05.2010 12:56
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team Warning: Symbol is assigned a value that is never used: "lx" on line 4817 Warning: Loose indentation on line 8438 Error: Expected token: ",", but found "return" on line 8441 Warning: Loose indentation on line 8443 1 Error. Could not locate output file C:\Documents and Settings\user\Pulpit\dbmod_5.9ll_pcl5.amx (compile failed).
#12
Napisano 16.05.2010 13:00
Warning: Symbol is assigned a value that is never used: "lx" on line 4817ten nie ma związku
Warning: Loose indentation on line 8438 Warning: Loose indentation on line 8443wyrównaj taby
Error: Expected token: ",", but found "return" on line 8441
cs_set_user_model(id,modele[los]
cs_set_user_model(id,modele[los])
#13
Napisano 16.05.2010 15:39
Leci +
#14
Napisano 16.05.2010 17:22
Ten temat został zamknięty przez moderatora.
Powód: Rozwiązany
Jeśli się z tym nie zgadzasz,
raportuj ten post, a moderator lub administrator rozpatrzy go ponownie.Z pozdrowieniami,
Zespół AMXX.PL
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych
Skiny do CS:GO za SMS, PSC, Przelew - CSGOPaka.com
Automatyczny Bot Levelowania Steam - LVLUPSteam.com
CSGO Gambling Sites and Free Betting Codes - DreamCodes.gg
💸 SellYourSkins.com - Łatwo sprzedaj swoje skiny do CS:GO
Donacje i napiwki dla streamerów - StreamPay.pl


Dodatki SourceMod



Temat jest zamknięty








