zp_respawn_user(victim, ZP_TEAM_ZOMBIE)Problem jest taki iż po spawnie ZM w tablicy wyniku piszę że jest "DEAD"
W czym problem ?
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.
|
Napisano 05.02.2012 14:34
zp_respawn_user(victim, ZP_TEAM_ZOMBIE)Problem jest taki iż po spawnie ZM w tablicy wyniku piszę że jest "DEAD"
[Aktualizacja 22.01.2015] GunXpMod 2.7.4
Napisano 17.02.2012 20:43
zp_respawn_user(victim, ZP_TEAM_ZOMBIE)
message_begin(MSG_ALL, get_msgid,{0,0,0});
write_byte(victim);
write_byte(0);
message_end();
Napisano 18.02.2012 00:02
SendDeathMsg(attacker, victim) // Sends death message { message_begin(MSG_BROADCAST, g_death) write_byte(attacker) // killer write_byte(victim) // victim write_byte(0) // headshot flag write_string("Pipe Bomb") // killer's weapon message_end() zp_respawn_user(victim, ZP_TEAM_ZOMBIE) message_begin(MSG_ALL, get_msgid,{0,0,0}); write_byte(victim); write_byte(0); message_end(); }linijka 624
message_begin(MSG_ALL, get_msgid,{0,0,0});
extra_pipe.sma(626) : error 017: undefined symbol "get_msgid" // C:\Documents and Settings\Kamil\Pulpit\compilatory\Kopia narutoo\compiler\zp_ extra_pipe.sma(626) : warning 215: expression has no effect // C:\Documents and Settings\Kamil\Pulpit\compilatory\Kopia narutoo\compiler\zp_ extra_pipe.sma(626) : warning 215: expression has no effect // C:\Documents and Settings\Kamil\Pulpit\compilatory\Kopia narutoo\compiler\zp_ extra_pipe.sma(626) : warning 215: expression has no effect // C:\Documents and Settings\Kamil\Pulpit\compilatory\Kopia narutoo\compiler\zp_ extra_pipe.sma(626) : error 001: expected token: ";", but found "}" // C:\Documents and Settings\Kamil\Pulpit\compilatory\Kopia narutoo\compiler\zp_ extra_pipe.sma(626) : warning 217: loose indentation // C:\Documents and Settings\Kamil\Pulpit\compilatory\Kopia narutoo\compiler\zp_ extra_pipe.sma(626) : error 029: invalid expression, assumed zero // C:\Documents and Settings\Kamil\Pulpit\compilatory\Kopia narutoo\compiler\zp_ extra_pipe.sma(626) : fatal error 107: too many error messages on one line
[Aktualizacja 22.01.2015] GunXpMod 2.7.4
Napisano 18.02.2012 09:46
SendDeathMsg(attacker, victim) // Sends death message
{
message_begin(MSG_BROADCAST, g_death)
write_byte(attacker) // killer
write_byte(victim) // victim
write_byte(0) // headshot flag
write_string("Pipe Bomb") // killer's weapon
message_end()
static get_msgid;
if( !get_msgid ) get_msgid = get_user_msgid( "ScoreAttrib" );
zp_respawn_user(victim, ZP_TEAM_ZOMBIE)
message_begin(MSG_ALL, get_msgid,{0,0,0});
write_byte(victim);
write_byte(0);
message_end();
}
0 użytkowników, 0 gości, 0 anonimowych