OK first time using it is working secound time it isn't
PHP Code:
public client_damage ( attacker, victim, damage, wpnindex, hitplace, TA )
{
if (hitplace == 1) //Headshot
{
new name[32]
get_user_name(id, name, 31)
client_print(0, print_chat, "[O-Z.de]:Headshot for %s!", name)
}
}
Returns
Code:
/home/groups/amxmodx/tmp3/phpnFMWer.sma(75) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/phpnFMWer.sma(75) : error 017: undefined symbol "id"
/home/groups/amxmodx/tmp3/phpnFMWer.sma(75) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpnFMWer.sma(75) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/phpnFMWer.sma(75) : error 001: expected token: ";", but found ")"
/home/groups/amxmodx/tmp3/phpnFMWer.sma(75) : error 029: invalid expression, assumed zero
/home/groups/amxmodx/tmp3/phpnFMWer.sma(75) : fatal error 107: too many error messages on one line
BTW Whats
loose indentation
??
Greetz
[/code]