//AMXXPC compile.exe
// by the AMX Mod X Dev Team
//// HsCounter.sma
// D:\Program Files\Steam\steamapps\zirualaz\counter-strike\cstrike\addons\amxmo
dx\scripting\HsCounter.sma(23) : error 017: undefined symbol "id"
// D:\Program Files\Steam\steamapps\zirualaz\counter-strike\cstrike\addons\amxmo
dx\scripting\HsCounter.sma(23 -- 24) : warning 215: expression has no effect
// D:\Program Files\Steam\steamapps\zirualaz\counter-strike\cstrike\addons\amxmo
dx\scripting\HsCounter.sma(28) : error 017: undefined symbol "id"
// D:\Program Files\Steam\steamapps\zirualaz\counter-strike\cstrike\addons\amxmo
dx\scripting\HsCounter.sma(28 -- 29) : warning 215: expression has no effect
// D:\Program Files\Steam\steamapps\zirualaz\counter-strike\cstrike\addons\amxmo
dx\scripting\HsCounter.sma(48) : error 033: array must be indexed (variable "-un
known-")
//
// 3 Errors.
// Could not locate output file D:\Program Files\Steam\steamapps\zirualaz\counte
r-strike\cstrike\addons\amxmodx\scripting\compiled\HsCounter.amx (compile failed
).
//
// Compilation Time: 0,08 sec
// ----------------------------------------
Press enter to exit ...
Xp individualiai
- zirualas
- Gana aktyvus vartotojas
- Posts: 216
- Joined: 2010 Oct 16 21:33
- Skype: zirual
- Location: Vilnius
- Contact:
Re: Xp individualiai
Bet daba man meta error ;DD.
Re: Xp individualiai
duok ta eilutę ant kurios meta. geriausia visa funkcijązirualas wrote:Bet daba man meta error ;DD.//AMXXPC compile.exe
// by the AMX Mod X Dev Team
//// HsCounter.sma
// D:\Program Files\Steam\steamapps\zirualaz\counter-strike\cstrike\addons\amxmo
dx\scripting\HsCounter.sma(23) : error 017: undefined symbol "id"
// D:\Program Files\Steam\steamapps\zirualaz\counter-strike\cstrike\addons\amxmo
dx\scripting\HsCounter.sma(23 -- 24) : warning 215: expression has no effect
// D:\Program Files\Steam\steamapps\zirualaz\counter-strike\cstrike\addons\amxmo
dx\scripting\HsCounter.sma(28) : error 017: undefined symbol "id"
// D:\Program Files\Steam\steamapps\zirualaz\counter-strike\cstrike\addons\amxmo
dx\scripting\HsCounter.sma(28 -- 29) : warning 215: expression has no effect
// D:\Program Files\Steam\steamapps\zirualaz\counter-strike\cstrike\addons\amxmo
dx\scripting\HsCounter.sma(48) : error 033: array must be indexed (variable "-un
known-")
//
// 3 Errors.
// Could not locate output file D:\Program Files\Steam\steamapps\zirualaz\counte
r-strike\cstrike\addons\amxmodx\scripting\compiled\HsCounter.amx (compile failed
).
//
// Compilation Time: 0,08 sec
// ----------------------------------------
Press enter to exit ...
- zirualas
- Gana aktyvus vartotojas
- Posts: 216
- Joined: 2010 Oct 16 21:33
- Skype: zirual
- Location: Vilnius
- Contact:
Re: Xp individualiai
Code: Select all
public Death_Hook() { if(read_data(3) && !read_data(5)) { client_print(0, print_chat, "Hs!") xp[id] += 5 } else { client_print(0, print_chat, "Nebuvo Hs") xp[id] += 2 }}
Re: Xp individualiai
Code: Select all
public Death_Hook(){ new id = read_data(1) if(read_data(3) && !read_data(5)) { client_print(0, print_chat, "Hs!") xp[id] += 5 } else { client_print(0, print_chat, "Nebuvo Hs") xp[id] += 2 }}
- zirualas
- Gana aktyvus vartotojas
- Posts: 216
- Joined: 2010 Oct 16 21:33
- Skype: zirual
- Location: Vilnius
- Contact:
Re: Xp individualiai
Dabar sucompilina be error, bet xp neduoda..
- aaarnas
- Vyr. diskusijų administratorius
- Posts: 3891
- Joined: 2010 Aug 31 13:21
- Skype: fiarno
- Contact:
Re: Xp individualiai
Šiaip DeathMsg evente #5 data neegzistuoja, ar bent jau apie tokią aš nesu girdėjęs.
DeathMsg
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the HUD message the client sees in the upper right corner of their screen.
Also prints the console text message "KillerName killed VictimName with TruncatedWeaponName" or "*** KillerName killed VictimName with a headshot from TruncatedWeaponName ***"
Note: TruncatedWeaponName doesn't contain a "weapon_" prefix. See CS Weapons Information for more information.
Note: For grenade kill TruncatedWeaponName isn't "hegrenade" but "grenade", in fact it's an actual classname of a throwed grenade.
Note: For KillerID it's not necessarily should be a PlayerID, it could be 0 if player dies from fall/acid/radiation/fire/etc damage/lack of oxygen or from touch to a "trigger_hurt" entity, in this case TruncatedWeaponName will be "worldspawn" and "trigger_hurt" respectively.
Note: For vehicle kills TruncatedWeaponName could be "vehicle", "tank" et cetera.Name: DeathMsg
Structure:
byte KillerID
byte VictimID
byte IsHeadshot
string TruncatedWeaponName
Palikau CS pasaulį ;/ . Nebepasiekiamas.
Who is online
Users browsing this forum: Ahrefs [Bot] and 8 guests