Code:
/home/users/amxmodx/tmp3/phpoc1ShG.sma(31) : error 035: argument type mismatch (argument 1)
/home/users/amxmodx/tmp3/phpoc1ShG.sma(31) : error 029: invalid expression, assumed zero
/home/users/amxmodx/tmp3/phpoc1ShG.sma(31 -- 32) : error 029: invalid expression, assumed zero
/home/users/amxmodx/tmp3/phpoc1ShG.sma(31 -- 32) : fatal error 107: too many error messages on one line
Compilation aborted.
4 Errors.
Could not locate output file /home/groups/amxmodx/public_html/websc3/phpoc1ShG.amx (compile failed).
and part of my script with the error
Code:
public client_infochanged(id)
{
new newName[33]
get_user_info(id,"name",newName,32)
if(get_user_frags("5")) && (contain(newName,"Cpl.") == -1)
{
get_user_info(id, "name",newName,32)
client_print(id, print_chat, "Congratulations Private! You are now promoted to Corporal!")
format(newName,32,"Cpl. %s",newName)
client_cmd(id,"name %s",newName)
}
}
public client_putinserver(id)
client_infochanged(id)
__________________