Wycięty kod:
new iLevel = p_data[iVictim][P_LEVEL] new iBonusXP, iXP = floatround( XP_GivenByLevel( iLevel ) * fWpnXPMultiplier[iWeaponIndex] ); // Check for a team kill if ( get_user_team( iAttacker ) == get_user_team( iVictim ) ) { // Remove XP since he killed his teammate iBonusXP = XP_Give( iAttacker, -1 * iXP ); // This message should be displayed no matter what XP_kill_objectives is, b/c it's a no-no if ( iBonusXP != 0 ) { client_print( iAttacker, print_chat, "%s You have lost %d XP for killing a teammate", g_MODclient, -1 * iBonusXP ); } }
Błąd przy kompilacji:
//war3ft.sma
war3ft/XP<232> : error 029 invalid expression assumed zero
Mam nadzieję, że pomożecie bo gniję już nad tym spory czas.
Dołączam pliki z wyciętym przeze mnie kodem.